Using plsql table and ref cursor in oracle forms 10g

Hi all,
Can anyone give me an example of a scenario where we need to create a form manually based on a database stored procedures.
And in that procedure i have created a pl/sql table and a ref cursor in data base level.
CREATE OR REPLACE PACKAGE SCOTT.BONUS_PKG IS TYPE bonus_rec
IS RECORD(
empno     bonus_EMP.empno%TYPE,
ename     bonus_EMP.ename%TYPE,
job     bonus_EMP.job%TYPE,
sal     bonus_EMP.sal%TYPE,
comm     bonus_EMP.comm%TYPE);
TYPE b_cursor IS REF CURSOR RETURN bonus_rec;
TYPE bontab IS TABLE OF bonus_rec INDEX BY BINARY_INTEGER;
PROCEDURE bonus_refcur(bonus_data IN OUT b_cursor);
PROCEDURE bonus_query(bonus_data IN OUT bontab);
END bonus_pkg;
CREATE OR REPLACE PACKAGE BODY SCOTT.BONUS_PKG IS
PROCEDURE bonus_query(bonus_data IN OUT bontab) IS
ii NUMBER;
CURSOR bonselect IS
SELECT empno, ename, job, sal, comm FROM bonus_EMP ORDER BY empno;
BEGIN
OPEN bonselect;
ii := 1;
LOOP
FETCH bonselect INTO
bonus_data( ii ).empno,
bonus_data( ii ).ename,
bonus_data( ii ).job,
bonus_data( ii ).sal,
bonus_data( ii ).comm;
EXIT WHEN bonselect%NOTFOUND;
ii := ii + 1;
END LOOP;
END bonus_query;
PROCEDURE bonus_refcur(bonus_data IN OUT b_cursor) IS
BEGIN
OPEN bonus_data FOR SELECT empno, ename, job, sal, comm FROM bonus_EMP ORDER BY empno;
END bonus_refcur;
END bonus_pkg;
i want to populate the data in forms manually not using forms data block wizard and programmatically.
please reply...

Can anyone give me an example of a scenario where we need to create a form manually based on a database stored procedures.Typically, you would use a procedure based block when you have a collection of data from multiple tables presented in a Form and your user needs to be able to update the information displayed.
From your code example, it looks like you are using Oracle Support document "Basing a Block on a Stored Procedure - Sample Code [ID 66887.1]". If this is the case, keep following the document - it walks you through all of the steps. There is no need to Manually configure things that the Data Block Wizard will perform for you!
i want to populate the data in forms manually not using forms data block wizard and programmatically. Why? Let the Data Block Wizard take care of configuring your block based on a procedure for you. There is no need to manually loop through the data! I've actually done what you are attempting and it was more work than was needed. Let Forms do the work for you. :)
If you absolutely must do things manually, I recommend you use the PROCEDURE bonus_query(bonus_data IN OUT bontab) instead of the bonus_refcur(bonus_data IN OUT b_cursor) . Then, in your code create a variable of type BONTAB and then call the bonus_query procedure. Then it is a simple case of looping through the table of records returned by the bonus_query procedure. For example:
DECLARE
   t_bonus    bonus_pkb.bontab;
BEGIN
   bonus_pkg.bonus_query(t_bonus);
   FOR i in 1 .. t_bonus.count LOOP
      :YOUR_BLOCK.EMPLOYEE_NUMBER := t_bonus(i).empno;
      :YOUR_BLOCK.EMPLOYEE_NAME := t_bonus(i).ename;
      :YOUR_BLOCK.EMPLOYEE_JOB := t_bonus(i).job;
      :YOUR_BLOCK.EMPLOYEE_SALARY := t_bonus(i).sal;
      :YOUR_BLOCK.EMPLOYEE_COMMISSION := t_bonus(i).comm;
   END LOOP;
END;This code sample demonstrates the basics, but as it is sample code - you will have to adapt it to your situation.
Also, I strongly recommend you look at the article InoL listed. This is a very comprehensive discussion on REF CURSORs. If you are set on using a procedure based data source - it is more efficient to pass the table of records back to your form than it is to pass a ref cursor. Using a ref cursor, you might as well just using a standard named cursor and loop through your named cursor. The effect is the same (one row returned at a time creating lots of network traffic). Using the table of records is more efficient because the entire data set is returned so network traffic is reduced.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • PLSQL table and REF CURSOR - what am I doing wrong?

    Wha

    Your types have to be defined at the SQL level ('create type'), not at the PL/SQL level.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:246014735810

  • Cursor in ORACLE FORMS 10g/6i

    Dear All Seniors
    Please tell me with complete example about CURSORS in ORACLE 10g/ 6i.
    i.e
    -> declaration
    ->opening
    -> fetching
    -> close etc
    Shall be very thankfull to him.
    thanks in advance
    yassen

    Here is an example
    DECLARE
         /* cursor declaration */
         CURSOR C IS
         SELECT  EMP_MST.EMP_ID,EMP_MST.EMP_DESIG_ID,     
         EMP_MST.EMP_CODE, EMP_MST.EMP_NAME,
         DESIG_MST.DESIG_NAME,EMP_MST.EMP_MIN_DOLLAR,EMP_MST.EMP_GROSS_SAL,  EMP_MST.EMP_BASIC,
         EMP_MST.EMP_MOBILE_BILL,EMP_MST.EMP_TA,EMP_MST.EMP_FES_BONUS
         FROM EMP_MST, DEPT_MST,DESIG_MST
         WHERE NVL(EMP_MST.EMP_QUIT, 0) = 0
         AND EMP_MST.EMP_CID_ID=:GLOBAL.GUNIT_ID
         AND EMP_MST.EMP_DEPT_ID=:GLOBAL.GDEPT_ID
         AND EMP_MST.EMP_DEPT_ID=DEPT_MST.DEPT_ID
         AND EMP_MST.EMP_DESIG_ID=DESIG_MST.DESIG_ID
         AND EMP_MST.EMP_SAL_TYPE=1
         ORDER BY EMP_MST.EMP_CODE;
         ALT NUMBER;
         R C%ROWTYPE;
         N NUMBER;
         errnum NUMBER       := ERROR_CODE;
      V_COUNT NUMBER;
      SD_COUNT NUMBER;
         V_ADD_AMT NUMBER;
         V_ADD_DEDUCT NUMBER;
         V_SAL_ADD_AMT NUMBER;
    BEGIN     
         SELECT COUNT(SD_EMP_ID) INTO SD_COUNT
         FROM SALARY_DTL,SALARY_MST
         WHERE SALARY_DTL.SD_SM_ID=SALARY_MST.SM_ID
         AND SALARY_MST.SM_MONTH=:SALARY_MST.SM_MONTH;
    /*cursor open*/
         OPEN C;
         --=================
           IF errnum = 40508 THEN    
                ALT:=SHOW_ALERT('DUP_MYD');
                RAISE Form_Trigger_Failure;
           END IF;      
         --================     
              GO_BLOCK('SALARY_DTL');     
              IF SD_COUNT=0 THEN
              FIRST_RECORD;
              ELSE
                   LAST_RECORD;
                   NEXT_RECORD;
              END IF;
         LOOP
          FETCH C INTO R;               ----cursor fetch/read
          EXIT WHEN C%NOTFOUND;     
          :SALARY_DTL.SD_EMP_ID:=R.EMP_ID;         --- data assign...
          :SALARY_DTL.SD_DESIG_ID:=R.EMP_DESIG_ID;     
          :SALARY_DTL.TXT_EMP_CODE:=R.EMP_CODE;     
          :SALARY_DTL.TXT_NAME:=R.EMP_NAME;     
          :SALARY_DTL.TXT_DESIG:=R.DESIG_NAME;
          :SALARY_DTL.SD_OLD_GROSS_SAL:=R.EMP_GROSS_SAL;
          :SALARY_DTL.SD_GROSS_SAL:=ROUND(R.EMP_MIN_DOLLAR*:SALARY_MST.SM_DOLLAR_RATE);
    --      :SALARY_DTL.SD_ORG_BASIC:=R.EMP_BASIC;     
          :SALARY_DTL.SD_ORG_BASIC:=ROUND(:SALARY_DTL.SD_GROSS_SAL*60/100);
          :SALARY_DTL.SD_MOBILE_BILL:=R.EMP_MOBILE_BILL;     
          IF NVL(:SM_BONUS_MONTH,0) =1 THEN
               :SALARY_DTL.SD_FES_BONUS:=R.EMP_FES_BONUS;     
          ELSE
               :SALARY_DTL.SD_FES_BONUS:=NULL;
          END IF;
          NEXT_RECORD;     
         END LOOP;
         PREVIOUS_RECORD;
         CLOSE C;
    END;Hope this helps..

  • Using Implicit REF Cursor in Oracle DB 12c

    For those interested in using ODP.NET implicit REF Cursors in Oracle DB 12c, the syntax is different from what was available in Oracle 11g. Here's a 12c-specific example:
    =======================
    Create or Replace PROCEDURE GetEmpAndDept
    AS
    EMPS  sys_refcursor;
    DEPTS  sys_refcursor;
    BEGIN
      OPEN EMPS for SELECT empno, ename from emp;
      dbms_sql.return_result(EMPS);
      OPEN DEPTS for SELECT deptno, dname from dept;
      dbms_sql.return_result(DEPTS);
    END;
    =======================
    // C#
    OracleConnection conn = new OracleConnection("User Id=scott; Password=tiger);
      conn.Open(); // Open the connection to the database
    // Create the command object for executing cmdTxt
      OracleCommand cmd = new OracleCommand("GetEmpAndDept", conn);
      cmd.CommandType = CommandType.StoredProcedure;
      OracleDataReader rdr = cmd.ExecuteReader();
      while(rdr.Read())
         Console.WriteLine("{0}\t{1}", rdr.GetInt32(0), rdr.GetString(1) );
      rdr.NextResult();
       while(rdr.Read())
           Console.WriteLine("{0}\t{1}", rdr.GetInt32(0), rdr.GetString(1) );

    i am using Oracle.ManagedDataAccess.dll v4.121.1.0
    Oracle Data Base 12c
    Visual Studio 2012 .net framework 4
    But if I use Unmanaged Dll I get implicit results in my .net application.

  • Query execution taking longer time in Oracle form 10g !!

    Hi,
    I'm generating a report through Oracle form ( forms 10g) and its taking 3-4 hours to finish. But when I run the same report query in (Oracle 11g) database, it gets executed in less than 40 mins.
    The form takes only from and to date as input.
    I tried hardcoring the date in the Oracle Form and then the report takes only 40 mins to generate.
    I tried various approaches like changing the datatypes of form variable and correspondingly changing the query, but met with no success.
    When the report in run through the form , we can see the query getting run in backend for nearly 3 hrs !!! tats really confusing !!
    Please let me know, if anybody got any idea on this problem??

    Hi,
    Even I am facing the same problem above. I am trying to fetch results from a cursor which has subquery running over the db link and placing the results set in a csv file using client_io package. When I run the cursor directly from database (11G), it takes not more than 3-4 min to get the results back. But when I run the same cursor via oracle forms 10G, the query in local database keep on waiting for hours to get results from remote database with "SQL*Net message from dblink". Session on local database remains in active status with state as "Waiting" while the session on remote database goes inactive with state as waiting for event "SQL*Net message from client"
    This is confusing me since the same query when ran directly from backend fetches results soon.
    Please let me know if anyone can help here
    Thanks
    Garima

  • Using plsql tables in select statement of report query

    Hi
    Anyone have experience to use plsql table to select statement to create a report. In otherwords, How to run report using flat file (xx.txt) information like 10 records in flat files and use this 10 records to the report and run pdf files.
    thanks in advance
    suresh

    hi,
    u can use the utl_file package to do that using a ref cursor query in the data model and u can have this code to read data from a flat file
    declare
    ur_file utl_file.file_type;
    my_result varchar2(250);
    begin
    ur_file := UTL_FILE.FOPEN ('&directory', '&filename', 'r') ;
    utl_file.get_line(ur_file, my_result);
    dbms_output.put_line(my_result);
    utl_file.fclose(ur_file);
    end;
    make sure u have an entry in ur init.ora saying that your
    utl_file_dir = '\your directory where ur files reside'
    cheers!
    [email protected]

  • What is the real time use of implicit and explicit cursors in pl/sql

    what is the real time use of implicit and explicit cursors in pl/sql.............please tell me

    You can check the following link ->
    http://www.smart-soft.co.uk/Oracle/oracle-plsql-tutorial-part5.htm
    But, i've a question ->
    Are you student?
    Regards.
    Satyaki De.

  • Link Query and Ref Cursor Query

    Hi all!!
    How can I link Query and Ref Cursor Query??
    I mean, How can I pass input parameters to the PL/SQL procedure if they are not User parameters but they come from another table??
    Thanks a lot
    F.

    I have searched the forum and this is the closest to my problem.
    Just started using ref cursors in my reports.
    The problem I am running into is that I have two ref cursor queries in my report - they each contain a column named seq_no which forms a join (in the database) .
    My report returns the correct number of records in each query, but I can't find a way to enforce the join. I've tried all the methods I can think of including combining the results into one query.
    The IDE won't let me join on a column and when I join on the group (which I make only contain the seq_no fields) that join is ignored.
    Can anyone help me on this?

  • How to use BULK COLLECT in ref cursor?

    hi,
    can we use bulk collect in ref cursor ? if yes then please give small example ..
    thanks

    Try this:
    create or replace type person_ot as object (name varchar2(10)) not final;
    create or replace type student_ot under person_ot (s_num number) not final;
    create type person_tt as table of person_ot;
    create table persons of person_ot;
    declare
    lv_person_list person_tt;
    lv_sql varchar2(1000);
    ref_cur sys_refcursor;
    begin
    lv_sql:= 'select new student_ot(''fred'', 100) from dual
    union all
    select new student_ot(''sally'', 200) from dual';
    open ref_cur for lv_sql;
    fetch ref_cur bulk collect into lv_person_list;
    close ref_cur;
    for i in lv_person_list.first..lv_person_list.last loop
    dbms_output.put_line(lv_person_list(i).name );
    end loop;
    forall i in lv_person_list.first..lv_person_list.last
    insert into persons values lv_person_list(i);
    end;
    /

  • How to use Hide Tech. and Get cursor field

    Hai Experts,
    Can any one tell me about
    how and when we use hide tech. and get cursor stmt in interactive report.
    In my reqirement , i want to display PO header details like PO docno, Vendor No, and so on. when i am double clicking the EBELN , it will display the item details of the particular document number which i am clicked in the basic list.
    if i am double click the vendor number, it will show the vendor details.
    how can i get this?
    Thanks in advance  for ur reply.
    Regards,
    Msivasamy

    Thanks for ur reply.
    I got the output in this way.
    *& Report  SAPMZMMPO
    REPORT  SAPMZMMPO no standard page heading.
    tables: ekko.
    DATA: f(40) TYPE c, off TYPE i, lin TYPE i, val(10) TYPE c, len TYPE i.
    data: begin of iekko occurs 0,
            bukrs like ekko-bukrs,
            bsart like ekko-bsart,
            ekorg like ekko-ekorg,
            ekgrp like ekko-ekgrp,
            ebeln like ekko-ebeln,
            lifnr like ekko-lifnr,
            bedat like ekko-bedat,
          end of iekko.
    data: begin of iekpo occurs 0,
            ebeln like ekko-ebeln,
            ebelp like ekpo-ebelp,
            matnr like ekpo-matnr,
            menge like ekpo-menge,
            meins like ekpo-meins,
            netpr like ekpo-netpr,
            matkl like ekpo-matkl,
            werks like ekpo-werks,
            lgort like ekpo-lgort,
            eeind like rm06e-eeind,
          end of iekpo.
    data: begin of ilfa1 occurs 0,
            lifnr like lfa1-lifnr,
            name1 like lfa1-name1,
            stras like lfa1-stras,
            ort01 like lfa1-ort01,
          end of ilfa1.
    *parameters: p_ebeln like ekko-ebeln default '4500006130'.
    select-options: s_ebeln for ekko-ebeln DEFAULT '4500006130' TO '4500006135'
                     OPTION bt SIGN i.
    *start-of-selection.
    start-of-selection.
    select bukrs bsart ekorg ekgrp ebeln lifnr bedat
            from ekko into corresponding fields of table iekko
            where ebeln in s_ebeln.
    loop at iekko.
            write:/ iekko-ebeln HOTSPOT COLOR 5 INVERSE ON,
                    iekko-lifnr HOTSPOT COLOR 3 INVERSE ON ,
                    iekko-bukrs,iekko-bsart,iekko-ekorg,iekko-ekgrp.
            hide: iekko-ebeln,iekko-lifnr.
    endloop.
    iekko-lifnr,iekko-ebeln.
    at line-selection.
      GET CURSOR FIELD f VALUE val .
    WRITE: / 'Field: ', f,
            / 'Offset:', off,
            / 'Line:  ', lin,
            / 'Value: ', (10) val,
            / 'Length:', len.
    case sy-lsind.
    when 1.
    *if val = iekko-ebeln.
    if f = 'IEKKO-EBELN'.
            select  ebeln ebelp menge meins lgort werks
                    matnr matkl netpr from ekpo
                    into corresponding fields of table iekpo
                    where ebeln = iekko-ebeln.
                   for all entries in iekko where ebeln = iekko-ebeln.
            loop at iekpo.
                write:/ iekpo-ebelp,iekpo-matnr,iekpo-menge,iekpo-meins,
                        iekpo-werks,iekpo-lgort,iekpo-matkl,iekpo-netpr.
            endloop.
    endif.
    *if val = iekko-lifnr.
    if f = 'IEKKO-LIFNR'.
            select lifnr name1 stras ort01 from lfa1
                    into corresponding fields of table ilfa1
                    where lifnr = iekko-lifnr.
            loop at ilfa1.
                write:/ ilfa1-lifnr,ilfa1-name1,ilfa1-stras,ilfa1-ort01.
            endloop.
    endif.
    when others.
          leave screen.
    endcase.

  • How to type cast PL/SQL table to REF cursor?

    any one knows how to CAST PL/SQl table to Ref cursor?
    eg
    procedure some_name(r_out out sys_refcurosr)
    IS
    type t is table of tab%ROWTYPE;
    my_type t;
    begin
    select * bulk collect into my_type from tab;
    r_out := my_type; -- need help here..
    end;
    it's 10g

    ref cursor is pointer to result set. You can not cast to PL/SQL table.
    1 create or replace procedure some_name(r_out out sys_refcursor)
    2 IS
    3 begin
    4 OPEN r_out for select * from emp;
    5* end;
    SQL> /
    Procedure created.
    SQL> var mycursor refcursor;
    SQL> exec some_name(:mycursor);
    PL/SQL procedure successfully completed.
    SQL> set linesize 2000
    SQL> print :mycursor;
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7369 SMITH CLERK 7902 12/17/80 00:00:00 800 20
    7499 ALLEN SALESMAN 7698 02/20/81 00:00:00 1600 300 30
    7521 WARD SALESMAN 7698 02/22/81 00:00:00 1250 500 30
    7566 JONES MANAGER 7839 04/02/81 00:00:00 2975 20
    7654 MARTIN SALESMAN 7698 09/28/81 00:00:00 1250 1400 30
    7698 BLAKE MANAGER 7839 05/01/81 00:00:00 2850 30
    7782 CLARK MANAGER 7839 06/09/81 00:00:00 2450 10
    7788 SCOTT ANALYST 7566 04/19/87 00:00:00 3000 20
    7839 KING PRESIDENT 11/17/81 00:00:00 5000 10
    7844 TURNER SALESMAN 7698 09/08/81 00:00:00 1500 0 30
    7876 ADAMS CLERK 7788 05/23/87 00:00:00 1100 20
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
    7900 JAMES CLERK 7698 12/03/81 00:00:00 950 30
    7902 FORD ANALYST 7566 12/03/81 00:00:00 3000 20
    7934 MILLER CLERK 7782 01/23/82 00:00:00 1300 10
    14 rows selected.

  • Storing an Excel File in the Oracle Table through Oracle Form (10g)

    Hi,
    We have the below requirement in the Oracle Forms (10g).
    Database: 11g
    Application: R12
    We need to provide an upload functionality to the user, so that he can upload an excel file into the form (from the local system), this is achived.
    Now what we need to do is that we need to capture the path of the document (in the local system) and we need to store the document in a Oracle table.
    Next we need to validate the records that are being loaded and the error records should be written into one more file and that file also we need to store in an Oracle table, this is because, i need to query this error file from the table later and need to send to the user as an e-mail.
    Basically i started off with the below code just for the POC. but iam facing the error. Please help. I did not put this code in my form.
    Create Table Email_Attachments(Id_Pk Integer Primary Key,Fname Varchar2(50),Image Blob);
    Create Or Replace Directory Temp As 'C:\';
    Create Or Replace Procedure Load_File(Pi_Id In Integer, Pfname In Varchar2) Is
    Src_File Bfile;
    Dst_File Blob;
    Lgh_File Binary_Integer;
    Begin
    Src_File := Bfilename('TEMP', Pfname);
    Insert Into Email_Attachments (Id_Pk,Fname,Image)
    Values (Pi_Id,Pfname, Empty_Blob())
    Returning Image Into Dst_File;
    Dbms_Lob.Open(Src_File, Dbms_Lob.File_Readonly);
    Lgh_File := Dbms_Lob.Getlength(Src_File);
    Dbms_Lob.Loadfromfile(Dst_File, Src_File, Lgh_File);
    Dbms_Lob.Close(Src_File);
    Commit;
    End;
    begin
    Load_File(1,'test.txt');
    end;
    ERROR
    ORA-22288: file or LOB operation FILEOPEN failed
    No Such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 1014
    ORA-06512: at "SYS.LOAD_FILE", line 10
    ORA-06512: at line 2
    How to capture the Path from which he has loaded the file?
    How to Write the error records it to the file and store it in an Oracle table?
    Will the below table be of use to me?
    fnd_lobs_document
    fnd_lobs
    fnd_documents
    Please share your ideas as to how to acheive this.
    Thanks and Regards
    Srinivas

    When you want to process the file, them it depends on the format. "Excel file" is a term that is used for a variety of file formats, mostly simple CSV, binary (true) XLS and XLSX.
    So to get help you have to give us more information. Since the file is already in the db you might get better answers at {forum:id=75}. The forum has a FAQ that has a whole section {message:id=9360007}.
    Regards
    Marcus

  • How to use LDAP with Oracle forms 10g on Oracle application server

    Hi,
    I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
    Thanks
    Luksh

    I am not quite sure if this works out of the box. According to an Oracle FAQ:
    4.2 Can I use LDAP to authenticate Forms Services?
    Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms.

  • Using of google map in oracle forms 10g

    Hello,
    We are on Oracle Forms 10g. We have a requirement of calling a Custom Map application (Like Google Maps) from Oracle Forms 10g.
    We want to show the Employee's Hose location in the form when city,street and state is entered.
    We are using the following PJC
    http://forms.pjc.bean.over-blog.com/article-26335020.html
    But when i run it i do not get anything in GMAP.
    I appreciate if I can get some help for the above requirements.
    Thank you.

    hello sir,
    I am running my form from the form Builder.
    I have copied my jar file into E:\DevsuiteHome_1\forms\Java Folder.
    Updated formsweb.cfg file as
    archive_jini= frmall.jar,frmwebutil.jar,jacob.jar,StaticGMap.jar
    and updated default.env Class path
    I got the following error: on java console
    Oracle JInitiator: Version 1.3.1.30
    Using JRE version 1.3.1.30-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    Proxy Configuration: Manual Configuration
    Proxy:
    Proxy Overrides:
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://polish_dap-2:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/frmwebutil.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jacob.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/JCalendarJinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jcalendar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/AWTFileDialog.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/FileDropper.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/statusbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/lablediconbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/dynamicmenu.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/ComboMenuBar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/StaticGMap.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/personalize.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/progressbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/rolloverbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/getclientinfo.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • Buttons and text items on oracle forms 6i

    can i create dynamic buttons and text fields on oracle forms 6i.
    i mean when i insert record in database then automatically creat a button on form.
    Regards
    Munawer hussain

    Hi,
    One physical button is enough for a series of "functional buttons" per amount of simultanious visisble buttons. You can change the button prompt at run-time depending on a certain condition. That same condition can also be used when executing the when-button-pressed (wbp) trigger.
    Example:
    suppose you have 2 functions that you want to create buttons for: enter query and execute query. Only 1 button is visible at one time. In design time you create 1 button. In run-time, depending on :system.mode you set the button prompt to "enter query"or "execute query" and in the wbp trigger you write
    begin
    if :system.mode = 'QUERY'
    then
    execute_query;
    else
    enter_query;
    end if;
    end;
    Kind regards
    .

Maybe you are looking for

  • How can I find out the percentage of space taken up by a vector in a document?

    Hi all, I've been doing visual research over the last couple of years, and part of this has resulted in hundreds of in-design documents with vectors of varying sizes in each. Essentially, I'm hoping to find a quick way to find out the percentage of s

  • How can I get my email from Outlook on the PC to Mac's Mail on Lion?

    I am trying to move years worth of emails from Outlook on a PC to a new MacBook Air. The database of emails is about 5GBs. I can find different settings to export the emails in PC formats, but not a single one listed in the Lion version of Mail. It c

  • Account payable and receivable

    Hi, My current client took over another company and need to migrate them in to SAP existing company code. I am looking after AR, AA and AP. I have following concerns: Business need is to have historical data for last 2 years for both AR and AP and th

  • "Invalid UTF8 encoding" troubleshooting

    How can I troubleshoot the error message "Invalid UTF8 encoding" ? I get this every now and then from oraxml command line utility and also from XSU (xsql pages and command line utility). Thanks, Peter. null

  • IDoc type

    Hi I am a middleware ETL developer and new to SAP. I need to create an iDoc through datastage iDoc load stage to populate the following tables PSFC_DISP MEPO_TOPLINE MEREQ_TOPLINE AUFK custom appends. I wanted to know which iDoc type would be most su