DtvLong dal_iwf_lis_cns (cns_mas)

Creates the defined list widget for the constraint, loads it with the corresponding data of the ident number of the selected record in the widget and outputs it on the screen.

Input Parameters Significance
char *cns_mas [< or > = direction of the constraint]
name of the constraint [> < = selection menu]
name of the list [> < = default list]

Output Parameters Significance
none -

Return Code Significance
0 no error
1 wrong name passed
2 no access to the entity granted
3 no list for the entity defined
4 no record selected in the current widget
GLB_RET_BRK menu cancelled < glbbef.h >

Can be invoked as on_select-userexit in Select menus at the widget or as on_event-userexit in any state of the user interface.

If you do not pass any constraint, DataView will create a selection menu containing all constraints defined for the selected record.

Using the characters > > < or > < < in front of the constraint you can influence the direction of the constraint.

You can only pass a list together with the specified constraint.

If you do not specify a list, DataView will output the list you created as default list for the linked table on the screen.

All parameters must be separated by spaces.