Multiple Forms can be invoked in an application through three built-in:
1) OPEN_FORM
2) CALL_FORM
3) NEW_FORM
OPEN_FORM:
OPEN_FORM opens another form in a modeless window. The user can work on Multiple forms concurrently. The user can navigate within multiple forms.
With the OPEN_FORM the user can call another form in a different database session.
Syntax: OPEN_FORM (‘form_name’, active_mode, session_mode, data_mode, paramlist); Default: activate and no session mode.
OPEN_FORM is a restricted procedure and cannot be called in the Enter-Query mode.
CALL_FORM:
CALL_FORM calls another form in a Modal window. The user cannot navigate within different Forms. Requires to exit the called form before navigating back to the calling form. Forms are called in the same session.
NEW_FORM:
NEW_FORM exits the current form and opens the new form as a parent window.
NEW_FORM releases the memory by exiting the current form.
Benefits of Multiple form Applications are:
Easier to debug small form.
Flexibility between forms.
Easy to maintain.
Modularity.
Data can be exchanged between forms.
No comments:
Post a Comment