![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
There are two virtual fields contained in each screen table, $MODIFIED and $OCCNUM. There are two ways to use these fields:
• Associate these fields with each screen table for use with selection in rules. When used in selection, you cannot order on either of these fields.
• Use these fields in a screen table definition. If used in a screen table definition, they act as described in the definition and not as described below.$MODIFIED is used to determine which occurrences in a screen table have been modified. $MODIFIED has semantic data type L (logical), syntax C (character), and length 1. It behaves as follows:The following example shows how $MODIFIED can be used in a rule. It returns all occurrences modified by the user.
$OCCNUM returns the current position of an occurrence in a screen table (1 is given as the first position). $OCCNUM has syntax B (binary) and length 4. It positions the screen table buffer on the occurrence where the cursor is positioned.The following example shows how $OCCNUM can be used. It positions the screen table buffer on the occurrence where the cursor is currently placed.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |