iwf_frm_cns
Creates the defined link form for displaying elements of linked tables.
Parameters:
link [form]
- Link
- Name of the link. You can only specify links you already defined.
- Form
- Name of the form displaying the elements of linked tables. You can only specify forms containing elements of linked data base tables. It makes no difference whether these are master-, type-, or relation forms. You can only specify a form together with the link. If you do not specify a form, DataView will display the default form you created for the linked data base tables during model definition. For you can link master-, type-, or relation tables, DataView displays the corresponding default form on the screen.
Usage as:
On_Select userexit in each menu/button-area or On_Event userexit in each state of the user interface.
Explanation:
If you invoke the userexit in the Select menu of a list, i.e. at the selected record, DataView will fill only the fields of the form with the current data if you defined either no userexit or the wdh_upd_lis userexit at the pre_mask-trigger of the form. Each other Pre_Mask userexit prevents that the data of the selected record are displayed. You will then have to start a new query using the standard functions refresh or query to fill the form with data. However, the relation to the selected, calling record will be lost.