Friday 13 September 2013

What is CALL_FORM built in?

When one form invokes another form by executing CALL_FORM the called form is a model with respect to the calling form. That is any window that belong to the calling form are disable & operator can’t navigate to them until they first exist the called form.
The CALL_FORM function opens the form in dialog mode.

Syntax:
CALL_FORM (‘form_name’,display,switch_menu,query_mode,parameter_list)

Display: This argument can be set to ‘HIDE’ or ‘NO_HIDE’. If this argument is set to ‘HIDE’, the calling form will be made invisible before calling the called form. If this argument is set to ‘NO_HIDE’, the called form will be opened without hiding the called form.

Switch_menu: This argument can be set to ‘NO_REPLACE’ or ‘DO_REPLACE’. If this argument is set to ‘NO_REPLACE’, the menu of the called form will not be replaced with the menu of calling form. If this argument is set to ‘DO_REPLACE’, the menu of the called form will be replaced with the menu of calling form.

Query_mode: This argument can be set to ‘NO_QUERY_ONLY’ or ‘QUERY_ONLY’. If this argument is set to ‘QUERY_ONLY’, the called form is opened for query purpose only. If this argument is set to ‘NO_QUERY_ONLY’, the called form can be used data insertion, updation, deletion & viewing.

Parameter_list: This argument must be set to the name of the parameter list created using create_parameter() function.

No comments:

Post a Comment