Input Parameters | Significance |
char *ent_mas |
name of the entity [> < = selection menu] name of the form [> < = default form] |
Output Parameters | Significance |
none | - |
Return Code | Significance |
0 | no error |
1 | wrong entity name passed |
2 | no access to the entity granted |
3 | no form for the entity defined |
GLB_RET_BRK | menu cancelled < glbdef.h > |
Can be invoked as on_select-userexit in any menu or on_event-userexit in any state of the user interface.
If you do not pass any entity, DataView will create a selection menu containing all entities already defined in the application.
If you do not pass any form, DataView will create the widget with the default form specified in the entity definition.
You can only pass a form together with the entity.
You must pass the entity as first parameter in the parameter string. Entity and form must be separated by spaces.
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.