$FieldgroupId: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
The $FIELDGROUPID function call returns the ID of the current field group. For example: | The $FIELDGROUPID function call returns the ID of the current field group. For example: | ||
<p class="code"> | <p class="code">BEGIN | ||
BEGIN | |||
IN POLICIES FR WHERE POLICY_NUMBER = 100095 | IN POLICIES FR WHERE POLICY_NUMBER = 100095 | ||
FEO FIELDGROUP DRIVER | FEO FIELDGROUP DRIVER | ||
Line 16: | Line 15: | ||
END FOR | END FOR | ||
END | END | ||
</p> | |||
The $FIELDGROUPID returns 0 if the current field group has been deleted. | The $FIELDGROUPID returns 0 if the current field group has been deleted. | ||
[[Category:SOUL $functions]] | [[Category:SOUL $functions]] |
Revision as of 20:21, 19 August 2013
Available as of Model 204 version 7.5.
The $FIELDGROUPID function call returns the ID of the current field group. For example:
BEGIN IN POLICIES FR WHERE POLICY_NUMBER = 100095 FEO FIELDGROUP DRIVER IF DRIVER_MARITAL_STATUS = 'MARRIED' THEN %FGID = $FIELDGROUPID LOOP END END IF END FOR FOR FIELDGROUP DRIVER = %FGID PRINT 'A MARRIED DRIVER' AND DRIVER_ID END FOR END FOR END
The $FIELDGROUPID returns 0 if the current field group has been deleted.