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.
SETINDEX Statement Details
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
SETINDEX makes the specified ISAM table index the current index.
SETINDEX [#]filenumber%[,indexname$]
■ The argument filenumber% is the number used in the OPEN statement
to open the table.
■ The argument indexname$ is the name used in the CREATEINDEX statement
to create the index.
■ If you omit the indexname$ argument or specify double quotes ("") for
indexname$, the current index is the NULL index. The NULL index
represents the order in which records were added to the file.
Usage Notes
■ After SETINDEX, the current record is the first record according to
that index.