How to Close One Window from another window in oracle form6i?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rohullah
    New Member
    • Mar 2010
    • 43

    How to Close One Window from another window in oracle form6i?

    Hello

    For Example i have two window (window1 and window2)in oracle form6i
    i want active one window at a time
    for example window1 is active and i want to active window2 then
    window1 should automaticly Deactive.

    how to do it?
    please Help me.
    thanks.
  • amitpatel66
    Recognized Expert Top Contributor
    • Mar 2007
    • 2358

    #2
    You can try using CLOSE_FORM builtin:

    [code=oracle]
    PROCEDURE CLOSE_FORM
    (form_name VARCHAR2);
    PROCEDURE CLOSE_FORM
    (form_id FORMMODULE);

    Parameters

    form_name Specifies the name of the form to close as a VARCHAR2.
    form_id The unique ID that is assigned to the form dynamically when it is instantiated at runtime. Use the FIND_FORM built-in to an appropriately typed variable. The data type of the form ID is FORMMODULE.
    [/code]

    Comment

    • ARULKN
      New Member
      • Aug 2014
      • 1

      #3
      Originally posted by amitpatel66
      You can try using CLOSE_FORM builtin:

      [code=oracle]
      PROCEDURE CLOSE_FORM
      (form_name VARCHAR2);
      PROCEDURE CLOSE_FORM
      (form_id FORMMODULE);

      Parameters

      form_name Specifies the name of the form to close as a VARCHAR2.
      form_id The unique ID that is assigned to the form dynamically when it is instantiated at runtime. Use the FIND_FORM built-in to an appropriately typed variable. The data type of the form ID is FORMMODULE.
      [/code]
      Thanks. I used this to close a form while opening another form.

      Comment

      Working...