LogiView

Command 'field_set_acc'

     

This command initializes (interactive) access of a mask field. The command works similar to the DataView programming interface function 'mas_fld_set.acc'.

This command must not be called in a conditional instruction.
 

Syntax:

  field_set_acc({WDG_ID},{FLD},{"m"|"w"|"r"})
 

I/O parameters:

{WDG_ID} ID of mask widget
{FLD} Name of field
{"m"|"w"|"r"}
"m" mandatory field
"w" write access
"r" read access
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
10 field_set_acc(widget_id(),"T_DOC_DAT.DOC_ID","r")
 

Result:

In the mask of the current widget, interactive access of field "T_DOC_DAT.DOC_ID" is set to read access.

Functions and commands: Modification of Fields