Conversion from forms 4.5 to 6i .....urgent !

Hi all,
I'm trying to convert my forms from Forms version 4.5 to 6i.
In the process, all the variables declared as char are getting converted to varchar2.Say it was:
(in version 4.5)
v_variable char(22);
This gets converted to
(in version 6i)
v_variable varchar2(22);
But if the length of the char variable is not defined it is getting defaulted to varchar2 (1).This will give me various errors because of the conversion into a variable of length 1.(Earlier it was not compulsory to define the length of char variables)
Is there any way that I can prompt the compiler to convert char variables into varchar2(200) ?????
Any suggestions will be of great help.
Thanks in advance.
null

But if you had a variable defined as "my_var char;" it had a
length of 1 implicitly. This should not affect your runtime
behavior.
You can check into using the Forms API to convert the text
string "varchar2(1)" to varchar2(2000). You can find
information on the API at:
http://otn.oracle.com/products/forms/pdf/274326.pdf
Regards,
Candace Stover

Similar Messages

  • Conversion from Forms 4.5 to 6i

    Hello
    Do someone knows wich are the most common problems converting the forms from 4.5 to 6i Forms version ?
    Is there a product that can help me ?
    Thanks
    Fabien

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by wave80:
    Hello
    Do someone knows wich are the most common problems converting the forms from 4.5 to 6i Forms version ?
    Is there a product that can help me ?
    Thanks
    Fabien<HR></BLOCKQUOTE>
    One of the biggest problem is that the "field" in form 4.5 is replaced by "item" in form 6i in all non-procedural language and procedureal language. You have to replace it manually as far as I know. Another problem is that form 4.5, after compiling in form 6i,would be resized the layout. You may be required to either enlarge or reduce the size of the layout. Hope this little clue may help you
    null

  • CONVERSION FROM FORMS 4.5 - FORMS6

    I have about 300 4.5 fmb's to convert.
    Before I embark on this painfull task I have a few questions....
    Can I convert any menu's I currently use or do I need to rebuild them?
    I want to use the default smart bar available in 6.0. The current forms use buttons in a block. Where there is code to alter buttons properties ie. set_item_property('button_bar.excq' etc will it be possible to amend to
    set_item_property('smartbar.excq' etc ??

    There is no need of any tool wrather than Oracle Developer 6 to upgrade Forms 4.5 to Forms 6.0. Just open your
    Forms4.5 version Forms in Forms6.0 builder. It will automatically upgrade the forms into V6.0. If you want to add any
    funtionality or feature of Forms6i you need to do it manually after upgrading V4.5 forms.

  • Automated tool to convert from Forms to Dynamic Page for Oracle Portal?

    Hi Experts,
    We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
    Thanks, Abbas

    Dear Abbas,
    You seem to have two issues... ;-)
    If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
    As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
    I hope it helps you a bit further...
    Cheers,
    Pedro.

  • VERY URGENT!! How to Pass a "% " symbol from form to Report

    Hi
    I am using oracle 10g and passing a symbol "%" as a parameter to the report from a form. But it shows error as follows:
    REP-52006: Failed to decode the specified URL PARAMETER1=%.
    But it is working when it runs in the Report directly.
    Then Why we can't pass the symbol "%" to the report from form.
    Please reply me as soon as possible. IT IS VERY URGENT !!

    Hi,
    Try using a lexical parameter(&parm_1) for a string of values or a bind parameter(:parm_1) for a single value
    Thanks,
    Kimosabe

  • URGENT- Need advice on executing scripts from Forms 6i

    Hi all,
    Quick background info:
    I'm working on a conversion project from Forms 4.5 client/server applications to a three tier, web based Forms 6i environment.
    We're running Oracle 8i DB on HP-UX machines, Oracle 9ias on HP-UX machines, and users access forms through Netscape
    on Win2000 platform.
    The problem:
    I have a SQL execution interface form from which users have been able to run dynamic SQL scripts w/o having direct access to
    a SQL Plus prompt (uses the 'HOST' command in 4.5). How can this functionality be implemented in the three tier environment?
    Unless other options are available, my plan is to use a Java servlet to access the 8i database on the UNIX box and display
    output on an html page. Is there a better/easier way?!
    Any advice is appreciated...
    FLM
    Paychex, Inc.

    Thanks for the response,
    I may be able to invoke the script from Forms using the HOST command, but how is the script output
    displayed back to the browser?
    FLM
    [email protected]
    You can probably still use the host to sqlplus, but this time it will run on the Forms Server.
    You just need to make sure that the dynamic SQL files are uniquly identified for each customer.

  • Problem in price conversion from INR to USD- Urgent

    Dear All,
    In the export sales scenario, we are having the contract with customer in INR and based on that value only the excise invoice should be raised. After 2-3 days commercial invoice is to be raised based on the exchange rate applicable on that date.
    I have created sales order in INR, did proforma invoice based on order then delivery document & then excise invoice based on proforma order. Then to raise the commercial invoice, i go to change mode of order to change the currency from INR to USD. The conversion from INR to USD is not happening correctly, it is showing the lesser value than the actual value.
    I have maintained exchange rate type as BLB under CIN company code settings & then assigned same in sales data of customer master. The exchange rate is also maintained in OB08 for M as well as BLB type but still the conversion is not happening correctly.
    Can anybody please suggest me the cause & solution for this urgently.
    Thanks & Regards,
    Antima

    Hi
    When you change the copy control settings it will consider the exchange rate that is maintained at the time of billing.
    i.e. if you have order of a previous day and billing of some other day then in that case if the exchange rate is changing on the billing date then it will consider the exchange rate of the billing date.
    Hence when you are creating the billing document check the exchange rate getting picked (Whether it is on the billing date or order date).
    I didnt get your other problem. Do you want to change the decimal places in the Currency? (You are in big trouble. If that is so). The settings for the same is available in customising SAP Netweaver > General Settings > Currencies > Set Decimal Places.
    BE EXTREMELY CAREFUL BEFORE USING THIS.
    Please clarify your doubt if that is not the case.
    Regards
    Sunil

  • Call Stored Procedure from Forms 6i -- Urgent Plz...

    Dear All,
    I am first writing a stored procedure as:-
    CREATE OR REPLACE FUNCTION
    good_hire
    (birthdate_in IN DATE,
    reqsal_in IN NUMBER)
    RETURN BOOLEAN
    IS
    too_young BOOLEAN :=
    ADD_MONTHS
    (SYSDATE, -216) >
    birthdate_in;
    too_expensive BOOLEAN :=
    reqsal_in > fin.dept_bal;
    BEGIN
    RETURN NOT (too_young
    OR too_expensive);
    END;
    Now in my forms also i have the same function,which i defined in in my program unit i.e., with the same name good_hire,but with different parameters.
    If I want to call this stored procedure(good_hire)in my form
    I am writing this code in the pre-Insert trigger.
    IF good_hire
    (:newemp.birthdate,
    :newemp.proposed_sal)
    THEN
    SELECT empseq.NEXTVAL
    INTO :newemp.empno
    FROM dual;
    ELSE
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    Notice that i am sending bind variables from my form to the
    stored procedure. Now my question :
    1) Can i pass bind variables to the stored procedures from
    forms or is there any other way i can access the
    stored roceures from forms(Expecting a detailed answer) and
    from which triggers can I access the stored procedures(like pre-
    Insert here)?
    2) If at all I have the same parameters in my program unit
    function and with the same name good_hire, I know that the code
    in the pre-Insert trigger will call only the function in my
    program unit and not the stored procedure, but if I like to
    call my stored procedure instead of the local function good_hire
    then what should I do?
    2)As I said before if i have different parameters, for the
    stored procedure good_hire and local function good_hire and If
    I call good_hire from my pre-insert trigger .. Is it that the
    Forms will decide and call the Local function or stored
    procedure depending on the parameter list?
    I hope all my points are very clear.
    I am expecting the best and detailed answer for my
    Queries, I also hope these Quests will clear the doubts of many
    members in our esteemed group.
    Thnx in Advance...
    Regards
    siree....

    Dear Siree,
    Oh!! how many Questions? Each how much big??
    Ok First of all the answer to your first question.
    You can use the Stored procedures in the same way as the Forms procedures. You can pass bind variables to the stored procedures as well. You can also use the stored procedures in any triggers, I think there are no restrictions for that. The only thing is you should be connected to database while compiling the trigger where you are calling the stored procedure.
    Answer to your second question.
    You cannot direct Forms (I don't know about version 10g), untill 9i, you cannot tell forms to take the stored procedure and leave the local procedure. It will always take the local procedure, once a procedure is called. If not found locally then only it will go for the Stored procedures.
    For your third question.
    As I told you b4 forms searches for the procedure being called locally first, if locally present, does not go to the stored procedure. If declared by different paramaters in the stored procedure and it is called, then it will throw error (as it first searches for the name locally and if found will take up the one present locally and since that procedure is with different parameter, will throw up error). It is after all a stupid machine and can't think like us.
    Regards,
    Senthil .A. Perumal

  • URGENT:currency conversion from oracle financials 10.7 to 11i

    Hey all, Any one has the idea about the currency conversion from oracle financials 10.7 to 11i?? how to handle it?? do we need seperate code for currency conversion or is there any software that we can use??

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Shenba ([email protected]):
    Hey all, anyone has idea how the currency conversion is handled during upgrade of
    for oracle financials 10.7 to 11i. Is there any software available or do we need to do coding for currency conversion.
    Thanks<HR></BLOCKQUOTE>
    null

  • URGENT: Calling Pro C from Forms

    Hi All,
    How to call a Pro C function from forms?
    Can i call a function declared inside a DLL or i can only call a Pro C executable?
    Where can i look for more information?
    TIA
    Naveen

    Naveen
    If you are trying to call a user exit written in PRO*C ( I assume ur OS is Windows since u re talking about DLL) then yes you can make a dll then likn this dll and call it from ur forms using user_exit. Refer Forms help
    But If you wanna call a pure Pro*c program then call the executable ( nothing but a compiled C program) using probably host command
    Cheers
    Vij

  • How can I Connect to SQL Server or other RDBMS like Sybase from Form 6i

    I want to connect Connect to SQL Server or other RDBMS like Sybase from Form 6i. I kniow that I need some gateway product but I don't know the name of the product?Can i use some other technology to do the same like client software etc.
    I need this help urgently?

    Check the following link.
    http://www.oracle.com/technology/products/gateways/index.html

  • SAP HCM P&F - Update an infotype field which is NOT passed from Form

    Dear Experts,
    I have a requirement to update the Infotype with the entries in the HCM form (input by Employee in ESS) upon Manager's approval in MSS.
    We are achieving this functionality using HCM P&F (FPM) with an Workflow associated.  In this Workflow Standard Task (TS17900108) is used to Save the form data into the Database.
    But there is one field (APPROVED_DATE) in the Infotype whose value is not from the FORM but should be updated in the Infotype.
    Please help me with your inputs.
    Regards,
    Shankar

    Dear Christopher,
    I am extremely thankful to you for all the replies.  But, unfortunately, we are messed up with this requirement and we couldn't achieve it.
    In this regard, could you please give us the step-by-step procedure to achieve this functionality?
    Requirement in brief again:
    We have designed Overtime HCM form (FPM) using which employee requests for the Overtime.  This form is sent for the Manager for approval.  We have achieved this functionality.  With the Manager Approval, the database is also updated perfectly.
    Then we have added one more field in the infotype to track the Approved Date.  This field is to be updated along with the other fields (sent from FORM) upon the approval of the manager.
    And now though the other fields are updated correctly into the infotype, the approved date is not updated.
    Thanks a ton in advance for your guidance as this is very critical and urgent requirement for us.
    Regards,
    Shankar.

  • Report Called from FORMS having Printing Problem

    Hi all
    Guys i have a report problem in reports 6i.
    I am calling a report from my FORM 6i directly to printer (a dot matrix printer).
    I have set
    Add_Parameter(pl_id,'DesType',TEXT_PARAMETER,'printer');     
    The report is actually a confirmation report and i have given its layout height equal to 3.7 . But when i send it to printer it ejects the paper equal to 11 (equal to height of a portarait report).
    How can manage this ejection from Form or Report Side.
    NOTE : This problem occurs even if print the report from report preview(means not printed directlty from FORM).
    Kindly help me with this if any.
    I need it urgent.
    Thanx.

    Hello All
    The furthur detail to my previous problem is given as follows:
    I am getting problem
    with the Oracle reports. I have a dot matrix printer (Epson LQ-300, which is a
    tractor feed printer). While printing a report which is always not more than half a
    page, the printer does not stop after printing the report(the half page). It stops at
    the end of the page. I mean that half the page is printed and the rest half is blank.
    I want that the printer should print only at half a page. On the blank half it should
    print another copy of same report.
    Regards,
    Qaiser Qayyum Malik.

  • Converting from Forms to APEX

    does anyone have a formula or methodology for estimating the time it takes to convert (or recreate) a Form to APEX?

    Not really possible, since you are going to have to do some re-designing when you move from Forms to APEX. Just remember, the conversion tool will do some of the work, but you are REALLY better off re-developing your Forms app in APEX then converting..
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Struts/ADF/Toplink conversion from 10.1.2 to 10.1.3

    Hi. We have a J2EE application based on Struts/ADF/Toplink.
    We just let the JDeveloper migrate the whole application itself.
    We solved a few minor problems, but now we have the greater one:
    - we have in domain classes some getX...(), setX...() methods, intended for example
    for getting attributes of nested objects or for conversion from String to Date.
    In older version, when you had some getXSomeAtr() method in domain class, the attribute
    XSomeAttr was automatically generated into Data Control.
    In newer version it's not! If you want the attribute to be in data control, you must
    have an private attribute XSomeAtr declared in domain class.
    Example - we have these attibutes (first two has their own getters and setters and are
    mapped in toplink, the third is unmapped)
         private Date datum;
    private String nazev;
    private String XDatumAsDate;
    and methods
    public String getXDatumAsDate() {
    return OurUtils.dateToStringAsDate(getDatum());
    public void setXDatumAsDate(String datum) throws ParseException{
    Date d = OurUtils.StringToDateAsDate(datum);
    setDatum(d);
    And the form look like this
    <html:text property="XDatumAsDate" .../>
    <html:text property="nazev"     .../>
    Reading is ok, but attempt to modify date in input field ends with
    "JBO-35009: Setting attribute for XDatumAsDate in object methodRSICollection failed"
    Are we doing something wrong ? We just need to have the date entering under our control and
    be able to enter dates in various formats.
    Thanks in advance for any comments.

    I compared the both old and new data control xml files and found the difference. The previous attribute descriptor has IsUpdateable="true" but the new has IsUpdateable="0".
    Manually changing won't help - data control generation of any class regenerates all data controls and puts back IsUpdateable="0". I'm stuck now.

Maybe you are looking for

  • Help! apple loops missing

    Ok, I am a novice to Logic and I have a little issue. i am in the loop browser IN logic when i click all it says roughly 13,000 here is the catch, i am trying to move all of my loops, voices, instruments, read/write over to my 7200rpm 1TB External wh

  • Is there a Design View smilar to DW in CFB2?

    In Dreamwaever there was a Design View for the CF document.  This view was helpful to visually look over the long pages to find elements you are looking for.  For example, you might have a form with 100 fields and the Design View allowed you to quick

  • Java doesn't pick up system's DNS settings change until restarted

    Hello, I have a service running on a few Linux computers. Those computers have a NIC, which is configured with a fixed IP address. So /etc/resolv.conf contains the IP address of the LAN's DNS server. But most of the time, the computers are not plugge

  • Adobe update to Version XI (11.0.07) stopped programs working and pdf's showing in browsers don't print

    Hi A program we use for our financial system no longer works since Adobe's latest upgrade. It pops up requesting that we install adobe pdf reader then opens in a squashed window with none of the buttons clickable. To fix we have had to roll back to a

  • FCE crashes too often

    working with FCE HD 3, getting the hang of it pretty good. but it keeps crashing. any ideas on ways to cut down on that? i don't run anything processor intensive (e.g. iTunes) at the same time. restarting doesn't necessarily improve things. PowerBook