PL/SQL engine in Forms 10g Release 2

Hello,
Can anyone tell me if in Forms 10g Release 2 I can use these?
- Native dinamic SQL
- Indexed arrays by VARCHAR2 instead of BINARY_INTEGER
Thanks

Hello,
1. EXECUTE IMMEDIATE is as server side instruction, so it cannot be used within a Forms pl/sql block.
2. Yes, Indexed arrays by VARCHAR2 work fine in 10gR2 ;o)
Francois

Similar Messages

  • Developer Forms 10g Release 2

    i have installed developer forms 10g release 2 on my pc.
    i logged in as a scott user.
    i have created a form and a block of emp table.
    when i am going to run the form it will give me TNS:12560 : application protocol error. and ask for username/password. and after enter user scott and password for it it will still TNS error.
    when i create it will display scott users tables and logged in successfully.
    but at runtime it will give error.
    Please suggest me what to do?
    Reply urgently !!!

    thank you again friends
    by setting both tnsnames.ora files in database_home and developer_home has solved the problem
    now the form is running directly.
    is there any books for Oracle Forms/Reports developer complete reference
    for learning forms and reports designing ?
    i want to quickly learn the forms and reports developer.
    in oracle website only install/release documentation is available not the learning documentation available.
    if some tutorials/sample projects are available than it is also helpful to me learnig quickly.
    please help me!!!

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • SQL*LOADER IN Oracle 10g Release 2

    Hi,
    Recently i installed oracle 10g release 2 on windows vista.I want to use sqlloader utility.Where can i found it.I checked for sqlldr.exe in oracle home folder,but i didn't find it.Any one plz help me regarding this..

    You would better to look here
    Using:
    http://download.oracle.com/docs/cd/B19306_01/win.102/b14304/tools.htm#i1006973
    It will be also good to look at:
    Concepts
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_concepts.htm#SUTIL003
    SQL*Loader Control File Reference
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#SUTIL005

  • No PL/SQL windown in Forms-10g Debug

    Dear gurus...I used to use a PL/SQL window in 6i forms debug tool which displayed at the bottom of debugging module. It was very useful to look at the database values of current session but I'm unable to fine this PL/SQL interation tool in 10g Forms debug module. Is it away from my eyes only or really doesn't exist in 10g-Forms???

    Caz,
    Two things. First; it is considered poor Forums Etiquette to hijack someone else's posting. Always create your own post and include a link to a related posting if your issue is similar to someone else's.
    Second; now that you have the FORMS_TRACE_PATH defined, you create the trace file by adding the "RECORD=FORMS" parameter to the URL. Optionaly, you can add the "TRACEGROUP=DEBUG/CUSTOM1" parameter as well as long as you have specified the CUSTOM1 trace group in the ftrace.cfg file. Just adding the RECORD=FORMS should be enough, however.
    If that still doesn't produce the results you are looking for, check out the following references: Oracle9i Forms Diagnostic Techniques and Oracle9iAS Forms Services Tracing and Diagnostics. I know these are for Forms 9i, but the process did not change between Forms 9i and Forms 10g. If you are using Forms 11g, I'm not sure if these technigues will work the same as I am not using Forms 11g yet. ;-)
    Craig...

  • Reg:sql loader in Forms 10g

    Hai,
    we used sqlldr in forms 6i using host command. Later we upgraded to forms 10g but now the host command is not working. we are able to create directory with the host command, but not able to invoke sqlldr, also forms 10g is not giving any error also, (forms status is success). Did anybody faced similar problem? Can anyone please help me regarding this..

    I think, I did not make it clear, Sorry for that.
    Actually, sqlldr is on the application server and running fine with the 6i, as the respective control, data and log files were on the same machine. Now, we upgraded to forms 10g and trying to use the same sqlldr, but found that it is not being invoked at all.
    We first suspected the host command, but we are able to create a directory as follows,
    host('mkdir c:\test_host');
    This is working fine. But not sqlldr... I searched on metalink if there are any links on the issue but able to find the same problem unanswered.
    I will try for xhost facility...

  • WebUtil_File.FIle_Selection_Dialog  error in forms 10g release 2

    when I click to butotn to select the file from the OS system by using client_get_file_name function this alert message.
    The message;
    !!!!oracle.forms.webutil.file. FileFunctions bean not found. WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not found.!!!!
    I have written the following trigger in when button press
    :txt1 :=client_get_file_name(null,null,null,null,opne_file,true);
    plz can anybody send me the solution for this

    the frmwebutil.jar exists and when I check it from browser it works like
    http://osname:8889/forms/java/frmwebutil.jar its works fine, or is there any other way to check plz send me and one more issue is when i check the webutil layout in the form its give oracle.forms.webuitl.ole class function does not implement in bean in the layout and then i try to import that classs from the import java classs it gvies error. I need it very urgently

  • Error while calling "sql Type" in forms

    Hi all,
    I have created a SQL TYPE in user schema and call it through form.While compiling form following error message arise:
    Implementation restriction [may be temporary] ADT or schema level collection not supported at client side with non-OCI mode.
    My user has dba rights and i m using 9.0.4.
    Any idea ???
    Regards

    All,
    The problem is in Oracle Forms. The PL/SQL engine in Forms is not the same as the PL/SQL Engine in the database. Consequently, there will be features available in the Database that are not available in Forms. I suggest you alter your design so it doesn't use a database TYPE. There are a few Metalink articles that discuss this difference.
    Craig..

  • Forms 10g, SqlLoader and client_host

    Hi,
    I am starting Sql Loader from Forms 10g by using client_host(sqlldr.exe userid=..). The Sql Loader works fine, data is loaded to ORACLE tables but the application fails to go back to the Forms code and execute the rest. I have also tried to call a batch file by using client_host but the problem persists, the SqlLoader works fine but the rest of the forms code is not run.
    Thanks for suggestions,
    Deniz

    As said that would be exactly for that purpose. When you call applications in blocking mode which prevents the forms applet from sending a heartbeat for a certain amount of time the forms runtime will assume the forms applet is dead and will exit. nonblocking_with_callback will return control immediately and call a user defined trigger after the application has ended. Just create a user defined trigger with the code you want to execute after SQL*Loader is finished. Pass the name of that trigger to non_blocking_with_callback, and your problem should vanish ;)
    cheers

  • In Forms 10g Where does SQLs execute?

    In Oracle Forms 10g there is Java Applet on top of which our Application runs. Now suppose we have a button and in that we execute a SQL to get a column value.
    Now where does the SQL fire?
    Does it fire in the Applet (i.e in client) or does it go to the App Server and then execute?

    RTM first!
    If it's PL/SQL written in the form, that executes on the application server, that has a PL/SQL engine.
    If it's a call to a procedure stored in the database, that executes in the database.
    If it's SQL, then that can execute nowhere else except in the database.
    Do not imagine that the applet does any other thing except rendering what you see on screen and handling the clicks and keystroke to the application server (which does the further processing, handling to the database the SQL that has to be executed).
    Briefly, that's the basics.
    HTH
    Edited by: BEDE on Nov 16, 2010 11:15 AM

  • Database link in forms 6i stopped working in database 10g release 2.

    Hi,
    We have Forms 6i with all patches added.
    We were able to recompile the form that contains database link in database 10g release 1 environment. Recently we migrated to database 10g release 2.
    We still can run the form (previously compiled in database 10g release 1), but when we tried to modify the form and recompile it in databbase 10g release 2,
    the forms developer closed down without giving any error message.
    When we removed any reference to the database link from the form, we were able to recompile the form with no problem. Database Linkd in SQL works.
    The question: what do we need to do in the database 10g release 2 to make the link in forms 6i work?
    Thank you. Lev.

    I recently upgraded my development environment from Forms 10.1.2.0.2 to Forms 10.1.2.3 and am experiencing the same problem -- not able to COMPILE a form that references a database link. The error is: "Error 352 at line 99, column 3 Unable to access another database 'LINKNAME'". This occurs on an UPDATE statement within PL/SQL code in a form trigger that used to compile and work fine.
    I tried the database link in SQL Plus and the link is working fine.
    Database environment is 10g 10.2.0.3 on Windows Server 2003.
    Is anyone able to do this?

  • Sharing Package level variables in PL/SQL Libraries in Forms 6i and 10g

    We have a Forms 6i Application, where we share variables between Forms in the following way:
    In scheme A_PROMATA is a table called T_GLOBAL_VAR, where we define our variables as Columns of the table. That means there is no record in the table, just columns, that represent our “global” variables, we want to share between Forms.
    Then we have a PL/SQL Library called NAV, where we have only the Package Specifiation:
    PACKAGE NAV
    IS
    VAR A_PROMATA.T_GLOBAL_VAR%ROWTYPE;
    END;
    This works fine for years, but when we try to migrate to Forms 10g, this does not work anymore, because we always get the following error message:
    ORA-06508 PL/SQL: could not find program unit being called
    But when we create a Dummy-Package Body with a Dummy Procedure in the Package NAV in the library, it works again...
    Does anybody know the reason for this???
    Regards and Thanks.
    Udo
    p.s.:
    Database is 10g (10.1.0.4.0)
    Application Server is 10g (10.1.2.0.0) on Red Hat

    Have you generated (compiled) the runtime .plx from your PLL library using the 10g compiler? I use the command:
    f90genm LIBNAME un/pw@xyz Module_Type=LIBRARY Output_File=LIBNAME Strip_Source=YESI tried out your situation, creating a PLL library with ONLY a package spec, and only a table%Rowtype record within the spec. While I had problems getting the Forms 10 Builder to generate the PLL Library, I was able to create a test form that sets, and then displays the columns within the record within the package spec.
    I had problems generating the .plx from the .pll within the Forms Builder. It kept giving me errors:    FRM-91507: Internal Error: Unable to generate library.
    and
        PDE-CCR003 Library TMP3 is currently in use.The only way I could create the .plx was from a cmd.exe window, with the batch compiler command above.

  • 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>

  • Connect by prior working in sql but not in forms 10g hierarchical tree

    Hello Friends,
    I have the following connect by prior example which is working in sql command prompt but not in Forms 10g hierarchical tree item type. Can you please let me know why ?
    configuration: Forms 10g patchset 10.1.2.0.2 and oracle 11g database on windows 7
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports where formname = 'billinin.fmx' or reportno > 9999
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno
    9 /
    INITIALSTATE DEPTH NODELABEL N NODEVALUE
    1 1 FIRST 10000
    1 2 report1 UD Label 1
    1 2 report2 UD Label 2
    1 2 report3 UD Label 3
    1 1 SECOND 10001
    1 1 THIRD 10002
    If I write this command in forms hierarchical tree, then it is working, why not the above code ?
    SQL> SELECT 1 InitialState,
    2 level Depth,
    3 labeller NodeLabel,
    4 NULL NodeIcon,
    5 to_char(reportno) NodeValue
    6 FROM reports
    7 start with reportno > 9999
    8 CONNECT BY PRIOR reportno = labelno

    Thanks Room,
    This command worked ! I will put the sample working code here. It will help you to filter the records in a tree in sql command prompt as well as in forms hierarchical tree 10g.
    SELECT 1 InitialState,
    level Depth,
    labeller NodeLabel,
    NULL NodeIcon,
    to_char(reportno) NodeValue
    FROM reports
    start with reportno > 9999
    CONNECT BY PRIOR reportno = labelno
    AND FORMNAME = :reports.testitem

  • How to save SQL result to file in forms 10g

    Hi All,
         I am using Oracle/forms 10g and need to create a file from a predefined sql statement .
    Just wondering if there is a build-in provided by oracle to export sql result to a file from Forms?.
    Your quick response will be of great help.
    Thanks
    Aalishan

    Aalishan,
    I guess it all depends on where you need to create the output file. You can use the database package UTL_FILE to write a file to the database server file system or you can use the Forms TEXT_IO built-in to write to the client file system. Is your intent to export the data in a multi-line block to a file? If so, TEXT_IO is what you want to use. The Forms help system has all the information and a few examples you will need to get started.
    Hope this helps.
    Craig...

Maybe you are looking for