FATS - Fast Access Tree System
Table of Contents
List of Commands
"MA" Get Next Result After

"MA" Get Next Result After


Command string:

CMND$ = "MA\{FileNo}\{RecID}"

FileNoFile number
RecIDRecord- resp. id-number

Purpose:

Get the next record of the result set found by an Matchcode-Query.

Description:

This command searches in the result set generated via a preceding  Search in Matchcode (MS) command for the data record specified via "RecID" and then scrolls to the next hit. As a result, the record- resp. ID-number of the data record following the specified data record (in the result set) is given back to the application program.

This command is only supported by the extended version of FATS.

Parameters returned:

ERRORCODE:Errorcode or 0 (no error)
RECNO:Record number
FATSKEY:If a primary key was generated during the creation of the matchcode index file with the "K#:#" flag, it is made available via this variable to the application program.

Example:

CMND$ = "MA\1\"+STR$(RECNO)

 BASIC Example

See also:

 "MN" Get Next Result; page 4-71


 

© 2008  GCS Software, Udo Gertz