|
The 'field_set_query' command copies a selection value to a mask field. The selection value corresponds to the entry made by the user when searching the mask field interactively. This command works similar to the DataView programming interface function 'mas_wri_sel'. |
||||||||||||
Syntax: |
|||||||||||||
field_set_qry({WDG_ID},{FLD},{EXPR}) | |||||||||||||
I/O parameters:
|
|||||||||||||
Return value: |
|||||||||||||
|
|||||||||||||
Example: |
|||||||||||||
Declaration of Variables | |||||||||||||
10 DOCU_INT_1 = widget_id() 20 field_set_qry(DOCU_INT_1,"T_DOC_DAT.LEV_IND","910 | 915") 30 field_set_qry(DOCU_INT_1,"T_DOC_DAT.AGG_FLAG","0") 40 RES = @wdh_upd_lis() |
|||||||||||||
Result: The current document widget is searched for records with the progress indicator ("..LEV_IND") 910 or 915 that are not assigned to any other (father) elements ("...AGG_FLAG" = "0"). |
|||||||||||||
![]() |
Functions and commands: Modification of Fields |