PREVIOUS
Moves the current member pointer one or more records “up” in a result set.
Syntax
PREVIOUS [num] [setname]
Parameters
num
|
The number of members “further up” into setname that the current member pointer is to be moved. Num can be: an integer constant (15, 200); a variable, form field, or parameter that evaluates to an integer; the word ALL. The default value for num is 1. If num is negative, PREVIOUS num actually moves the current member pointer “down” in the set.
|
setname
|
The name of a result set. If setname is omitted, the current set is used.
|
Comments
UP is a synonym for PREVIOUS.
Example
previous 10
Moves the current member pointer 10 members “up” towards the start of the set.
previous 5 MySet
list 5 MySet
Moves the current member pointer “up” five members, then lists five members (starting with the new current member).