getCurrent2STableInstance( )
For two-section forms, find the current table row instances where the rule is currently being run.
Syntax
getCurrent2STableInstance()
Parameters
None.
Return value
Number that represents the table row where the rule is currently being run:- A number greater than or equal to 1 refers to a table instance number.
- -1 indicates it is not a two-section form.
Examples
Example 3-77 If this is the first instance, raise a query if aeDate is not entered
// If this is the first instance, raise a query if aeDate is not entered
return (getCurrent2STableInstance() == 1 && aeDate === null)?false:true;
Parent topic: Two-section form functions