bas7advr.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MOVEFIRST, MOVELAST, MOVENEXT, MOVEPREVIOUS Statements Details
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
The MOVEFIRST, MOVELAST, MOVENEXT, and MOVEPREVIOUS statements allow you to
make records current according to their relative position on the current
index in an ISAM table:
MOVEFIRST First record becomes current.
MOVELAST Last record becomes current.
MOVENEXT Next record becomes current.
MOVEPREVIOUS Previous record becomes current.
MOVEFIRST [#]filenumber%
MOVELAST [#]filenumber%
MOVENEXT [#]filenumber%
MOVEPREVIOUS [#]filenumber%
■ The argument filenumber% is the number used in the OPEN statement
to open the table.
Usage Notes
■ The action of the MOVEFIRST, MOVELAST, MOVENEXT, and MOVEPREVIOUS
statements is made relative to the current record, according to the
current index.
■ Using MOVEPREVIOUS when the first record is current moves the current
position to the beginning of the table. The beginning of an ISAM
table is the position before the first record according to the
current index.
■ Using MOVENEXT when the last record is current moves the current
position to the end of the table. The end of an ISAM table is the
position following the last record according to the current index.