Closing custom form window
I am very new to Oracle Apps and using 11.0.3. My problem happens when I use template form (TEMPLATE.fmb) and reference form APPSTAND.fmb. I generated a custom form by using template form but my problem happens when I close this custom form window through FILE close window. Generated custom form is going to close but other custom form window is open (i.e EXPORT,PROGRESS_IDICATOR and CALENDAR).
How do I solve this problem? Are there any settings to close this window (i.e. EXPORT)? This window is coming from reference form APPSTAND.fmb. I used APP_CUSTOM.CLOSE_WINDOW('window_name') and Hide_WINDOW, but it is not working.
These are the minimum steps to do in order to run your form for the condition.
You need to check the pre_form, when_new_form_instance trigger and most of all apps_custom program unit for closing window. In the trigger, put the window name in the apps.set_window_property and give your window_name over there (the one you want to see). In the property class of the module you specify the first window to be displayed.
This was first published in October 2003