DtvLong dal_iwf_frm_wdg (dal_mas_nam)

Creates the passed form widget for the calling list widget and outputs it on the screen.

Input Parameters Significance
char *dal_mas_nam name of the form

Output Parameters Significance
none -

Return Code Significance
0 no error
1 no current widget
2 wrong masks name passed

Can be invoked as on_select-userexit in the widget menu or on_event-userexit in the widget state or in the element selection state of a list widget.

If you invoke the function from the select menu of a list widget, DataView will write the ident number of the selected record into the query buffer of the ident number file of the forms. If at the pre_mask-trigger of the form the userexit dal_wdh_upd_lis or no userexit is installed, DataView will fill the fields of the form with the current data automatically.