Forms in 10g environment

Hi,
Could anybody give me some guidelines concerning using Forms 10g ? ... I have a huge experience with Forms 6i ... but for the Forms 10g integration I have no idea how to do it ... I fact I wanna compile my own form in an 10g environment and after that get it on web ... I will appreciate any ideas ...
Thanks to all, Paul

I recommend you begin by looking at these documents about migrating Forms 6i.
http://www.oracle.com/technology/products/forms/htdocs/upgrade/index.html
http://www.oratransplant.nl/category/oracle/forms/6i-to-10g-upgrade/

Similar Messages

  • SQL*LOADER on forms in IAS 10g environment

    I want to execute a sqlloader command within a Oracle Form in a Oracle IAS 10g environment. Is there any knowledge out there how to solve that?
    thanks,
    Ame
    Message was edited by:
    joinnv

    Well... you could try to call some unix script from your forms and have this script handle the sqlldr stuff (which is the solution you already found ;) ). You could also try to build some java bean to upload files and load it directly into your database (not using sqlldr anymore).

  • I need a code to run a report from a forms on 10G...

    Hi!! I´m migrating from 6i to 10G and i cant run a report... can someone send me a sample code to run a report from a form in 10G??
    Thanks!!
    Regards!

    iam using Javabean in oracle 10g forms to tun the report....
    First create a block with a name control and add an bean to it with a name
    userid_bean.click the proerty of the bean and changes its width and height
    so that u cannot see it when u run the particular form.
    now use the below code where u are coding to run the report.
    Declare
    rep_url varchar2(2000);
    begin
    rep_url := '/reports/rwservlet?report=filepath\rep1.RDF' ||
    '&desformat=htmlcss&destype=cache&userid=sample/sample@oracle' || '&paramform=yes';
    -- Write Log messages to the Forms JInitiator console.The Next line must
    -- be disabled before running this code in any production environment.
    set_custom_property('control.userid_bean',1,'ADD_USERID',
    get_application_property(username)||'/'||
              get_application_property(password)||'@'||
              get_application_property(connect_string));
    -- writing the cookie
    set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
    web.show_document(rep_url,'_blank');
    end;

  • Oracle Forms Builder 10g Questions

    Good day everyone,
    I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
    I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
    * Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
    * Populate a field[s] after pressing a search button based on a SQL query
    * Populate a field[s] on launch based on a SQL query
    * Throw a warning message if an SQL query returns with a specific result
    * Populate a drop down menu based on a SQL query (ie only show valid options to user)
    * Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)

    I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
    FRM-18108: Failed to load the following objects.
    Source Module:utlf_gui
    Source Object: TOOLBAR_MDI
    +... (many more of the one above)+
    I press ok and get the following error:
    FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
    +... (many more of the one above)+
    From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
    Forms_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    Forms90_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
    Also if I try to attack a PL/SQL library I get the following error:
    Attached library name <name> contains a non-portable directory specification. Remove path?
    I press yes or no and get the following error:
    PDE-PLI038 Cannot open file for use as a PL/SQL library.
    Any help is much appreciated.
    Edited by: ThomasBoxall on 12-Dec-2011 12:18

  • Problem executing a sql query in 10g environment

    Hi,
    I am having problem executing the following sql query in 10g environment. It works fine in 8i environment.
    I tried to_number(to_char) and it did not work.
    **A.APPL_ACTION_DT >= TO_CHAR("&v_strBeginStatusDate&", 'DD-MON-YYYY') AND A.APPL_ACTION_DT <= TO_CHAR("&v_strEndStatusDate&", 'DD-MON-YYYY')))**
    Any suggestions..
    --Pavan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I would be surprised if that worked in 8i as posted, although I no longer have 8i to test. You do not tell us the error message you are getting, but there are several things wrong with what you posted.
    First, the substitution variable requires only the & at the beginning, you have one on each end of your string, the one at the end will remain in the string that is passed to the database.
    Second, you cannot TO_CHAR a string with a date format as you are trying to do. The TO_CHAR function is overloaded and has two basic forms TO_CHAR(date, format_model) and TO_CHAR(number, format_model). Note that neither takes a string. It would appear that at least current versions of Oracle choose the second signature unless specifically passed a date datatype.
    SQL> select to_char('&h', 'dd-mon-yyyy') from dual;
    Enter value for h: 12
    old   1: select to_char('&h', 'dd-mon-yyyy') from dual
    new   1: select to_char('12', 'dd-mon-yyyy') from dual
    select to_char('12', 'dd-mon-yyyy') from dual
    ERROR at line 1:
    ORA-01481: invalid number format modelalthough I suspect that the error you are getting with your posted code is more likely to be ORA-01722: invalid number.
    Depending on the data type of appl_action_date, you are probably lokoing for TO_DATE instead of TO_CHAR.
    John

  • Unable to run forms in oracle forms developer 10g

    I am using oracle forms developer 10g on oracle application Release 12.
    When i run form i am getting error that weblistener is not running on default port 8888. Then i changed it to 8000. But still i am not able to run the forms.

    Nivas,
    In addition to running OC4J, you must also have your browser configured to use a Java Runtime Environment. The easiest - and preferred - method is to install the Oracle JInitiator as there is not configuration needed other than the installation. You can also use Sun's JRE, but you would have to research how to configure your PC correctly. The other option is to change your FormsWeb.cfg file to use the Browser Native JRE. Edit the formsweb.cfg file and find the IE= directive. The Default is IE=jinitiator. Change this to IE=Native, save your changes and you are done. This is not the preferred solution, but it does work.
    Craig...

  • Issues in calling Sql Loader through forms developer (10g)

    Hi,
    I am developing a form(in 10g) ,in which I am calling sql loader for loading data onto a oracle database table from external source (e.g. data file is a .CSV file).
    But , somehow the sql loader is not getting executed.
    Here , I am giving the environment settings , approach i am taking;
    This is a distributed system , both the application server,and database server are mounted on two different servers.
    The form is delpoyed on the application server.
    The database table , and the sql loader are configured on the databse side.
    I am using host(<sql loader command>) command to invoke the Operating System command through forms.
    The sql loader is working ok , and the data is getting loaded successfully onto the required database table when I am executing the sql loader command on Unix prompt , but through the forms , it's not working.
    Do I need to change some environmental setting to make this work...
    Any quick help in this regard is highly appreciated.
    Thanks.

    Hi Craig,
    I have already tried out the option of calling sql loader through stored procedure,but this is not working ...
    could you please share any examples to do so ...
    code snippet i am using in forms:
    declare
    usid get_application_property(userid);
    pwd get_application_property(password);
    db get_application_property(host);
    msqlldr varchar2(250);
    begin
    msqlldr:='/u01/oracle/formss/bin/sqlldr' username=<uid/pwd@db> control=<control file name> data=<data file name> log=<log file name>
    hosts(msqlldr);
    end;
    Note that sqlldr command ,for that matter any unix shell command is not working through the hosts() command ...
    could you please suggest any way out ...
    Thanks.

  • How to convert 6i forms to 10g

    hello,
    please tell me how to convert 6i forms into 10g forms
    i cant find ne way to do that.

    If your forms are not all integrated with each other, in other words some are for Payrole and others are for Inventory, you could maintain an AS 1.0.2 environment for one function and an AS 10.1.2 environment for another. You can access the same database assuming you are running the latest Forms 6i version (unless you are not interested or concerned about using an Oracle Certified configuration). The latest (and last) Forms 6i release supported for non-Oracle Applications customers is 6.0.8.26 (Patch 17) and can be downloaded from Metalink.
    Of course, the above configuration would mean that the URL to each application would differ because they would likely be on different machines and/or use different port numbers. For example:
    http://system1.com:7777/servlet/f60servlet?form=payrole.fmx
    http://system2.com:7780/forms/frmservlet?form=inventory.fmx
    Bottom line is that all forms modules running in a particular AS environment must be of the same version. So, forms running in AS 10.1.2 must be compiled against Forms 10.1.2. Forms running in AS 1.0.2 must all be compiled against Forms 6.0.8

  • How can i debug a Form in 6i environment

    I want to debug a form in 6i environment. WIth trace utility can i do it?if yes pls help me in this

    Why not just use the "Run Form Debug" toolbar button or Program => Run Form => Debug? Just simply type "break;" in the trigger or Program Unit you want the Debugger to break in and step through the code to see what is happening. Running the Form in Diagnostics Mode as Draji suggests is an excellent option as well, but reading the output file can be a bit daunting and doesn't let you "See" what your code is doing. The Forms debugger is an excellent tool. It is well worth learning how to use.
    You can also turn Debug Messages on - which basically just displays an alert with the name of each trigger that executes. You can turn on the Debug Messages from: Tools => Preferences => Runtime tab => Debug Messages checkbox.
    Hope this helps.
    Craig...

  • How to insert special character from Oracle form builder 10g

    Dear all,
    I need help. how to insert special character like 'Superscript or Subscript ' from oracle form builder 10g. I had try in Oracle form builder 6i with press ALT+ASCII code in the text item and it work, but in the oracle form builder 10g this method doesn't work... would you like to help me...somebody please...
    Best Regard,
    Dedy P.T.

    What do you mean by insert ... from Forms Builder? Do you mean you want to add it as text in a string of pl/sql code or as part of boiler plate text (label) or a value on the Property Palette?
    For special characters you would need set NLS_LANG to something that would support the characters you want to use. For the Builder to see the change, you would need to set NLS_LANG to something like:
    NLS_LANG=AMERICAN_AMERICA.UTF8
    This can be done in the Windows Registry or system. As I mentioned, this will only apply to the Builder and will have nothing to do with a running form. For running forms you would need to set this in default.env. As for things like super and sub scripts, these are font formats and not necessarily characters. For the most part, I don't believe these are supported in Forms.

  • Forms Developer 10g Release 2 - new features?

    Hi,
    Does anybody know if Forms Developer 10g Release 2 (10.1.2) is any different from Forms Developer 10g (9.0.4)?
    I wasn't able to find a document with new features.

    <p>I am sure the link was under your eyes ;o)
    <br>
    http://www.oracle.com/technology/products/forms/techlisting10gR2.html<br>
    Oracle Forms 10g Technical Overview</p>

  • Oracle forms 9i/10g connecting SQL Server 2000

    Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
    To connect with Oracle Database, we need to copy and paste the tnsnames.ora file from the Oracle Database folder to the Oracle Forms folder.
    But how do i connect with other databases like SQL Server, MS Access, and so on?
    Thanks in advance.

    Follwoing is the soluton which I got from orafaq forum:
    <<<<<
    I'd go for an ODBC on the database server, using HSODBC. It worked quite well on a data warehouse project using OWB. I fail to see why it wouldn't work for Forms.
    MHE
    >>>>>
    Now I'm fully in a confused and frustrated state. Each person is saying different solutions for the problem. One person is saying to connect using ODBC driver while other is saying to connect JDBC driver. Actually which driver should I configure? Also no one is giving a clear picture for the problem.
    How can I get a detailed solution for this problem (with screen shots) which include step by step procedure to configure a driver?
    So, I would be pleased if you could please guide me with step by step procedure to get connected with Oracle Forms using SQL Server?
    Or atleast some reference site where I can find the same.
    Thanks.

  • Variables Declaration in ORACLE Forms Builder 10g

    Dear Sir/Madam.
    I am new in Oracle developer suit(Forms builder 10g) .
    I want to declare three variables in Forms builder and when I press the button it will execute the querey/ retrieve data from the specific table.
    Table name= department
    Column names : dept_code number(5), dept_name varchar2(20), dept_location varchar2(25)
    Database User name; yassen
    database : test.
    Please help me to understand this problem.
    Thanks and regards,
    Ghulam Yassen
    Edited by: Ghulam Yassen on Oct 6, 2011 3:46 PM

    Yassen,
    Try,
    DECLARE
      Num_Code DEPARTMENT.DEPT_CODE%TYPE;
      Str_name  DEPARTMENT.DEPT_NAME%TYPE;
      Str_Location DEPARTMENT.DEPT_LOCATION%TYPE;
    BEGIN
       SELECT DEPT_CODE, DEPT_NAME, DEPT_LOCATION INTO Num_Code, Str_name, Str_Location FROM DEPARTMENT WHERE DEPT_CODE = <your_value>;
    END;Hope this helps.
    Regards,
    Manu.

  • Oracle Database10g Express Edition's compatibility with Forms/Reports 10g

    hi,
    I have a problem while connecting from Oracle Forms/Reports 10g to Oracle Database10g Express Edition.I have configured through the net configuration assistant and it shows the test is also successful. But while connecting from Oracle Forms/Reports 10g, an error is being displayed saying that the TNS could not resolve service name(ORA - 012154). I am able to connect to my database server normally. I got a doubt now regarding Oracle Database10g Express Edition's compatibility with Oracle Developer Suite 10g. Can I use Oracle Database10g Express Edition as backend for Forms/Reports 10g in a stand alone machine.
    Can anyone please give me a solution regarding my issue.
    Thanks in advance.
    RAKESH

    12154 means that the TNSNAMES.ora that reports is using does not understand what the '@XE' means.
    Check that you do not have several different TNSNAMES.ora files - there are probably several, and the one you are using probably does not point to XE. This is the most common cause I've seen.

  • Can I call a report in Reports 6i from Forms Services 10g?

    Hi there,
    I was wondering if I could call a report in Reports 6i from my application in Forms Services 10g. If so, how could I do it?
    Thanks!

    In Forms 6i you probably did use RUN_PRODUCT to call reports. In 9i onwards you should use RUN_REPORT_OBJECT instead.
    See http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    Note that you should be able to run RDF files without any conversion.

Maybe you are looking for

  • How to know that a form is running in query-only mode

    I have a form that can run in query-only mode or non-query-only mode depending on the current user who logs in, and I want to change its apprearance dynamically when it's in different modes (for example, enable or disable buttons). Is there a built-i

  • How do I reinstall the OS when I upgraded from a download?

    Like I said, I upgraded to 10.4 from a software update download - no disks involved. Which leaves me in a bind here when my finder crashes and won't launch, no matter what. I tried an archive and restore from Disk Utilities from my old 10.3 install d

  • Can I use my ipad2 as a monitor for flexible USB camera

    Can I use my ipad2 as a monitor for flexible USB camera. I have a flexible camera that connects via USB and has LEDs at the lens for illumination.

  • Issues connecting to mobile numbers with subscript...

    Hi all, New skype subscriber here, so please bear with me if my question isn't clear or anything. I got a Skype US and Canada subscription, and sometimes it works great, but about half the time when I call someone it'll connect me but not seem to rea

  • Kernel Panic apparently iTunes

    I am getting frequent Panic messages forcing me to restart my brand new MacBook. This is the detailed log: Can anyone help me with this? 2009-07-23-220352.panic: Description: Panic (system crashes) log Size: 6 KB Last Modified: 7/23/09 10:03 PM Locat