LogiView

Command 'field_read'

     
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.
This command must not be called in a conditional instruction.
The database is not accessed!

 

Syntax:

  field_read({WDG_ID},{FLD},{ROW},{VAR})
 

I/O parameters:

{WDG_ID} ID of mask widget
{FLD} Name of field
{ROW} Row
{VAR} Variable to be initialized with the field contents
 

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