Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 Tools : EVENTFIELD

EVENTFIELD
Returns the name of the field of the subview table that activated the current derived field rule, trigger rule, or validation rule. (F)
Invocation
string = EVENTFIELD
 
On return, contains the name of the field of the subview table that activated the current derived field rule. Its syntax is C (fixed-length character string) with length 16.
Usage Notes
EVENTFIELD can be called only by derived field rules.
Example
The following derived field rule doubles the value of the field of the same name in the underlying base table:

 
DOUBLEFIELD;
_
_ ---------------------------------------------------------------------------
_ -----------------------------------------------------------------------+---
_ RETURN(FLDVAL(EVENTTABLE, EVENTFIELD) * 2); | 1
_ ---------------------------------------------------------------------------

 
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved