Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : EVENTSUBVIEW

EVENTSUBVIEW
Returns the name of the subview table that activated the current derived field rule. (F)
Invocation
string = EVENTSUBVIEW
 
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
EVENTSUBVIEW 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, if the name of the subview employing this derived rule begins with the string 'DOUBLE':

 
DOUBLEFIELDIF;
_
_ ---------------------------------------------------------------------------
_ HEADSTRING(EVENTSUBVIEW, 6) = 'DOUBLE'; | Y N
_ ---------------------------------------------------------------------+-----
_ RETURN(FLDVAL(EVENTTABLE, EVENTFIELD) * 2); | 1
_ RETURN(FLDVAL(EVENTTABLE, EVENTFIELD)); | 1
_ ---------------------------------------------------------------------------

 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved