PREVIOUS

PREVIOUS

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

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).

 

See Also

$currentmember

BOTTOM

DOWN

LOCATE

NEXT

TOP

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish