• 65
    0

    Using Call_Form in Oracle D2k CALL_FORM examples/* Example 1:** Call a form in query-only mode.*/BEGINCALL_FORM(’empbrowser’, no_hide, no_replace, query_only);END;/* Example 2:** Call a form, pass a parameter list (if it exists)*/DECLAREpl_id PARAMLIST;theformname VARCHAR2(20);BEGINtheformname := ’addcust’;/* Try to lookup the ’TEMPDATA’ parameter list */pl_id := GET_PARAMETER_LIST(’tempdata’);IF ID_NULL(pl_id) THENCALL_FORM(theformname);ELSECALL_FORM(theformname,hide,no_replace,no_query_only,pl_id);END IF;CALL_FORM(’lookcust’, no_hide, do_replace, query_only);END;