UP

Moves the current member pointer one or more records "up" in a result set.

Syntax

UP [num] [setname]

Parameters

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 of num is 1.
If num is negative, the command effectively becomes a DOWN or NEXT command.

setname

The name of a result set. If setname is omitted, the current set is used.

Comments

PREVIOUS is a synonym for UP.

Example

up 10

Moves the current member pointer 10 members "up" towards the start of the set.

up 5 MySet
list 5 MySet

Moves the current member pointer five members "up", then lists five members (starting with the new current member).

 

Related Topics