|
Use this command to read the contents of a mask field. The command works similar to the DataView programming interface function 'mas_rea_fld'. | ||||||||||||
![]() |
This command allows long-text fields. |
||||||||||||
Syntax: |
|||||||||||||
field_read({WDG_ID},{FLD},{ROW},{VAR}) | |||||||||||||
I/O parameters:
|
|||||||||||||
Return value: |
|||||||||||||
|
|||||||||||||
Example: |
|||||||||||||
Declaration of Variables | |||||||||||||
50 DOCU_INT_1=widget_id() 60 field_read(DOCU_INT_1,"T_MASTER_DAT.BOM_FLAG",1,DOCU_INT_2) |
|||||||||||||
Result: The variable "DOCU_INT_2" is defined with the contents of the first line of field "T_MASTER_DAT.BOM_FLAG". |
|||||||||||||
![]() |
Functions and commands: Modification of Fields |