Executes the field triggers in the active window.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      


void field_exec([name | number] | [attributes,flag])
string           name
int              number,attributes,flag


Executes all field triggers if specific ones are not specified.
name specifies particular fields by name.

number specifies particular fields field sequence number.

attribute specifies a bitmask.

flag = true specifies that all fields with the specified attribute are executed; If flag is not specified, all fields that do not have any of the field attributes are executed.


The value of the window-name.AF is preserved across the field_exec() call. Any changes to the active field in the field trigger are not preserved.


Executes all triggers for fields with the CALCULATE and PRIMARY KEY attributes: