PUSHROW Function

Pushes the current values of all symbols (this includes both field values for the current row and defined symbols in the code) to a stack.

Category: Execution
Returned data type: Integer
Note: The returned value is a Boolean value where 1= success and 0 = error.

Syntax

PUSHROW(<Boolean >)

Optional Argument

reprocess

if true, then it causes the row to be processed again through the expression. If not specified, the row is not processed. again

Details

The PUSHROW function pushes the current values of all symbols (this includes both field values for the current row and defined symbols in the code) to a stack. When the next row is requested, it is given from the top of the stack instead of being read from the step above. When a row is given from the stack, it is not to be processed through the expression again unless the reprocess parameter is specified. When the stack is empty, the rows are read from above as usual. This function always returns true.

Example

string name
integer age
date Birthday
 
name="Mary"
age=28
Birthday=#21/03/1979#
 
pushrow()
 
name="Joe"
age=30
Birthday=#21/03/1977#
pushrow()