To replace the current form in an application, execute the NEW_FORM Built-in procedure:
NEW_FORM(formmodule_name CHAR,
rollback_mode NUMBER,
query_mode NUMBER,
parameterList_name CHAR);
The FormModule_Name parameter is required; all others are optional. If you leave the optional parameters unspecified, Oracle Forms runs the new form using the defaults for those parameters. Thus,
NEW_FORM('form_b');
is logically equivalent to
NEW_FORM('form_b',
to_savepoint,
no_query_only);
If the calling form was itself a called form (i.e., invoked with the CALL_FORM procedure), the new form assumes the parent form's position in the call stack. Further, Oracle Forms runs the new form with the same CALL_FORM parameters (HIDE or NO_HIDE, DO_REPLACE or NO_REPLACE, and QUERY_ONLY or NO_QUERY_ONLY) as the calling form.