How to call Procedure in Forms

Hi All,
I'm having 1Form,in that one check box is there if i check that, if i save the form means it should automatically call the procedure.
Can any one know how to call th procedure inside the Form.When we save form procedure sholud call and Run.
Bit urget plsss
Regards
Siva

thanks for ur reply,
i have got the solution
Cloding the Thread..
Regards
Siva

Similar Messages

  • How to Call Procedure or Function

    Hi,
    How to call a procedure or function in apex, Please let me know
    Thanks
    Sudhir

    Hi,
    This post might help
    Re: How to Call procedure In Processes
    Regards,
    Jari

  • How to call to another form declare in different class ???????

    hi, i'm beginner in j2me...
    I was wondering how to call to other form(class) in the current form...
    For example,
    public class A extends MIDlet implements CommandListener
    public void commandAction(Command d,Displayable s)
    if (d==*OKCommand*)
    if press this OK command, it will be able to show another form declared in the different class...
    How to make it able to call to other form/class(eg.classB)????
    public class B
    //form that will be shown after pressed command OK in class A
    please help if you know...Thanks a lot..... =)

    you MUST have a reference to the other class or MIDlet in the current MIDlet ...
    i think that i have answered to these kind of questions a few month ago.. you should use the 'search' engine to find the topic..
    CLDC and MIDP forum is not a huge forum compare to Java Programming forum so it will be easy !

  • Help on how to call a new form

    Anyone there that can help me how to call a new form...
    Actually I have 3 forms.... the Parent, and 2 child...
    child a
    child b
    I used JFrame to the Parent...
    I used JDialog to the child....
    I want to know how to call child a by the child b.....
    this is my code in calling them....
    when i'm in the form_b, i used this code to show form_a....
    form_a a = new form_a();
    a.setVisible(true);
    when i'm in the form_a, i used this code to show form_b....
    form_b b = new form_b();
    b.setVisible(true);
    but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
    I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....

    One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
    public class form_a extends JDialog{
       public form_a (Parent parent){
    public class Parent extends JFrame{
       form_a a;
       form_b b;
       public Parent(){
          a = new form_a (this);
          b = new form_b (this);
       public form_a getFormA(){
            return form_a;
       public form_b getFormB(){
           return form_b;
    }

  • How to call procedure in Java from SQL Server Database

    Hello Every Body
    i Have Question about
    How to call procedure in Java from SQL Server Database
    Thanks

    Hi,
    have you tried a Google search? I just gave it a 3 second try and already found: http://stackoverflow.com/questions/6113674/how-do-i-execute-a-ms-sql-server-stored-procedure-in-java-jsp-returning-table-d
    Frank

  • Help how to Call a New Form

    Anyone there that can help me how to call a new form...
    Actually I have 3 forms.... the Parent, and 2 child...
    child a
    child b
    I extend JFrame to the Parent...
    I extend JDialog to the child....
    I want to know how to call child a by the child b.....
    this is my code in calling them....
    when i'm in the form_b, i used this code to show form_a....
    form_a a = new form_a();
    a.setVisible(true);
    when i'm in the form_a, i used this code to show form_b....
    form_b b = new form_b();
    b.setVisible(true);
    but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
    I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....

    One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
    public class form_a extends JDialog{
       public form_a (Parent parent){
    public class Parent extends JFrame{
       form_a a;
       form_b b;
       public Parent(){
          a = new form_a (this);
          b = new form_b (this);
       public form_a getFormA(){
            return form_a;
       public form_b getFormB(){
           return form_b;
    }

  • How to call procedure and package in BI

    IN OBIEE how to call procedure- function and pass parameter in it.??
    Thanks
    Jatin.

    Do you mean DB function. Check this link:
    http://oracle-bi.siebelunleashed.com/articles/callingdb-function-in-obiee/
    For OBIEE 11g, you have additional options to make calls with Action Framework. For now, I think the above link will help.
    If helpful pls mark as correct or helpful

  • How to call procedure in which one formal parameter is associative array ty

    how to call procedure in which one formal parameter is associative array type,
    pls explain with eg.

    >
    above code work fine but when i use case then it give error like
    i identifier should be declare
    & my code is as
    CASE v_array(i)
    WHEN 'A' THEN
    insert into di_ivpn_report (ID, test_name, table_name, status, entity, proposition)
    values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
    v_status, v_ent_name, v_array(i));
    WHEN 'B' THEN
    insert into di_mpls_report (ID, test_name, table_name, status, entity, proposition)
    values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
    v_status, v_ent_name, v_array(i));
    END CASE;
    >
    Then you have to use ordinary loop
    PROCEDURE insert_update_***_array (TRANID IN VARCHAR2, ATT_NAME IN VARCHAR2, ENT_NAME VARCHAR2, v_array IN ***_array)
      IS
        v_tranid VARCHAR2(1);
        v_att_name VARCHAR2(100) := ATT_NAME;
        v_ent_name VARCHAR2(100) := ENT_NAME;
        v_att_id VARCHAR2(6);
        v_ent_id NUMBER;
        v_status VARCHAR2(20) DEFAULT 'INACTIVE';
        I        NUMBER;
       BEGIN
        i := v_array.first;
        while i is not null loop
          CASE v_array(i)
          WHEN 'A' THEN
            insert into di_ivpn_report (ID, test_name, table_name, status, entity, proposition)
            values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
            v_status, v_ent_name, v_array(i));
          WHEN 'B' THEN
            insert into di_mpls_report (ID, test_name, table_name, status, entity, proposition)
            values (v_att_id, v_att_name, 'DI_'||v_array(i)||'_REPORT'||'_'||v_att_id,
            v_status, v_ent_name, v_array(i));
          END CASE;     
          i := v_array.next(i);
        end loop; 
    end;

  • How to run procedure in forms

    hi to all
    How to run the database procedure in Forms while the program Unit in forms is also having the same name of the database procedure.

    Please address this question to the Portal Applications Forum at http://forums.oracle.com/forums/forum.jsp?forum=7

  • In Po, How to call different language form ?

    Hi Experts
      For our Japan/China Po form, it has different language. When we create Po and get the output type, How to control which language form it will call?  Since on different language form, some words language is different .
    THanks
    ALice

    Hi greetings
    In general, the Purchase order from will br triggered in the Vendor communication language. ( Maintained in vendor master-General date-Address) provided the Form has been maintained in the specified language in the configuration of output type.
    Gobinathan G

  • How to Call Standard PO Form in my Z program

    Hi All,
    Could you please tell me, How to Call the Standard PO form in my Z program for print priview and printing.
    My requirement is :
    Create Z program with PO Number as Selection screen.When we give the PO Number and Press execute it will show the print priview with printer option.
    Thanks & Regards
    Murali

    Plz refer this.
    REPORT  ZPPR_BOM1.
    TABLES
    TABLES : MAST.  " Material to BOM Link
    *& Internal tables         Begin with it_
    DATA : IT_MAST TYPE MAST OCCURS 0  WITH HEADER LINE.
    DATA: fm_name TYPE rs38l_fnam.
    CLEAR   : IT_MAST.
    REFRESH : IT_MAST.
    *& Parameters       Begin with pr_
    *& Select-options   Begin with so_
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:  PR_MATNR LIKE MAST-MATNR OBLIGATORY,
                 PR_WERKS LIKE MAST-WERKS OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b1.
      SELECT * FROM MAST  INTO TABLE IT_MAST   " Get BOM number
        WHERE MATNR = PR_MATNR
          AND WERKS = PR_WERKS.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname = 'ZPPS_BOM1'
        IMPORTING
          fm_name  = fm_name.
    CALL FUNCTION fm_name "'/1BCDWB/SF00000079'
    EXPORTING
       ARCHIVE_INDEX              =
       ARCHIVE_INDEX_TAB          =
       ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS         =
       MAIL_APPL_OBJ              =
       MAIL_RECIPIENT             =
       MAIL_SENDER                =
       OUTPUT_OPTIONS             =
       USER_SETTINGS              = 'X'
    IMPORTING
       DOCUMENT_OUTPUT_INFO       =
       JOB_OUTPUT_INFO            =
       JOB_OUTPUT_OPTIONS         =
       TABLES
         IT_MAST                    = it_mast
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to use Procedure in form 6I to add piture in Table

    Hi i create a Table which is
    create table demo
    ( id        int primary key,
      theBlob    blob
    /and Create a directory
    create or replace directory my_files as 'c:\Shah';I add a picture in database through this code
    declare
        l_blob    blob;
        l_bfile    bfile;
    begin
        insert into demo values ( 1, empty_blob() )
        returning theBlob into l_blob;
        l_bfile := bfilename( 'MY_FILES', 'water.gif' );
        dbms_lob.fileopen( l_bfile );
        dbms_lob.loadfromfile( l_blob, l_bfile,
                                   dbms_lob.getlength( l_bfile ) );
        dbms_lob.fileclose( l_bfile );
    end;
    /its add successfully and show me in Form 6I and Report 6I but i want to add picture in database through Form 6I
    So i create a Procedure_body
    with this code But its give me error
    The folder is Read_only i check the folder its not read only but still same error
    Any other idea how to add picture through form
    Regards
    Shahzaib ismail

    If you want to save only pictures in BLOB column, you can do it directly in forms, without using a procedure
    When you create a block based on a table, BLOB column is automatically displayed as <image>.
    Use following code to select the image you want to save.
    declare
    filename VARCHAR2(256);
    begin
    filename := GET_FILE_NAME(File_Filter=> 'All Files (*.*)|*.*|');
    READ_IMAGE_FILE(filename, 'ANY', 'BLOCK_NAME.COLUMN_NAME');
    end;
    When you will commit the data in form. your image will be saved automatically.
    Hope it helps

  • How I call procedure  in interactive report??

    Hi
    Is possible that call procedure in interactive report on APEX?
    Because
    in region source it asked only sql statement so I am confused and I dont know how call procedure in interactive report ?
    Edited by: esra aktas on 12.May.2011 11:04
    Edited by: esra aktas on 12.May.2011 12:05

    I am confused... Now, acoording to my senior porject in school my advisor want to that lots of procedures' name and arguments that I have collect them in a table. I collected procedures in table then I wrote a procedure that call wanted procedure by using dynamic sql and run that procedure..I select procedure name on selectlist on apex then that procedure run.
    So I want to my procedure's results must be as dataset in report . But report's source want to sql statement but I want to call the procedure as I mentioned.
    If you have any idea about my situations , I want to get your adviced.
    I have a this procedure.
    create or replace
    PROCEDURE CALLSPFROMTABLE(id number,arg1 varchar2,arg2 varchar2)  as
    table_name varchar2(30):='procedures';
    procname varchar2(1000);
    begin
    EXECUTE IMMEDIATE 'select procname from ' || table_name || ' where id='||id into procname;
    EXECUTE IMMEDIATE 'BEGIN '||procname||'('||arg1||','||arg2||'); END;';
    END;id=>:p1_SP , arg1=>:P1_YIL arg2=>:P1_BIRIM from selectlists
    Edited by: esra aktas on 12.May.2011 13:08
    Edited by: esra aktas on 12.May.2011 13:17

  • Problem with IN OUT parameters whiloe calling procedure from Form 6i

    Hi
    Could some help please? I have the following scenario.
    I am calling a stored procedure from form 6i by pressing a button on the form. Procedure has two IN OUT parameters, and I am passing these two IN OUT parameters and have declared them the way they are declared passed to the procedure. But I get an error when calling that procedure with these IN OUT parameters. the procedure works fine if parameters are IN only. The error says:
    PLS:00363: Expression '1' cannot be used as an assigment target.
    NO matter I pass some value or leave it blank, I get the same error message persistenetly.
    Please help.
    Thanks

    make sure you are calling your procedure with variables as parameters,
    i.e.
          l_v1 := 1 ;
          l_v2 := 'hello world' ;
          your_proc(l_v1, l_v2)
    not
          your_proc(1,'hello world')

  • Calling Procedure in Form Personalization in R12

    Hi,
    I'm trying to call a procedure in form Personalization (R12).
    Tried below versions but getting error, could you suggest ?
    ='begin
    XXHI_DFF_NULL(''' || $KANBAN_CARDS.KANBAN_CARD_NUMBER || ''' );
    end'
    =========================================================================
    ='declare
    v_field_value VARCHAR2(200) := :KANBAN_CARDS.KANBAN_CARD_NUMBER;
    begin
    XXHI_DFF_NULL(v_field_value);
    end'
    Thanks.

    You are missing the curly braces.
    See http://apps2fusion.com/apps/21-technical/296-stored-procedure-form-personalization for an example.
    Hope this helps,
    Sandeep Gandhi

Maybe you are looking for

  • Date Format Problem In dashboard

    Hi All: I am using dashboard prompt for filteration of date on date. And I use between operator in dashboard prompt. I want default intialization in both field. I use initialization block in BI for intialization. In initialzation block it shows corre

  • Is it possible to apply adjustments to raw files?

    I need to pass raw files, but I would like to apply my adjastments. Can I do it with Lightroom?

  • Update ruined everything!!

    I finally found a cord to start adding music and I noticed an update. Well I did it and lost EVERYTHING!! Not only that but now my wi-fi won't work. It's connected with a high signal and it says there's no connection. This is horrible. I am still und

  • Why "Basic Page Style" is not an option for this website?

    I have problems with this internal website at work. I have seen it before at home with www.taringa.net, the problem is that the web page just displays text without the styling sheet settings, and when I go to View > Page Style, I can only see "No Sty

  • Comment débloqué un iphone 4 d'un compte iCloud ?

    je ai acheté un iphone 4 sur ebay Mais il ya encore la iCloud Compte de l'ancien Propriétaire donc je ne peus pas l'used Comment je fais je ne ai pas le fils identifiant