LogiView

Keyword act_fld

  The keyword act_fld defines the access to the current (mask) field without the necessity to know its name. Act_fld represents a unique and complete Where clause; therefore, using further Where clauses is excluded. It only makes sense to use this keyword as an argument of the functions

This is prerequisite to uniquely specify the current field of a widget by means of the current line and the name of the current field.

Act_fld can only be used if LogiView is called as "pre-field" or "post-field" or as a "hyper field" userexit.
Note: act_fld corresponds to the current field.

 

Example 1:

 

Calling of a decision table as "Post-Field-Trigger" (Userexit 'lgv_post_fld') in order to read and verify user inputs in this field using the function 'sel_value':

T Ln Cond/Act R 01
  
ELSE
B 10 sel_value(act_fld) <= DUR
  
  
  
  
--------------------- ----
  
----
A 20 put("Input to low!") yes
  
no
A 30 exit() yes
  
no

 

 

Example 2:

 

Definition of the database access for the string variable S1 (in the Variable declaration table):

Name T ... Database access ..
S1 S ... act_fld