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

"MN" Get Next Result


Command string:

CMND$ = "MN\{FileNo}"

FileNo File number

Purpose:

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

Description:

This command enables your application to retrieve the record- resp. ID-number corresponding to the next data record of the result set generated via a preceding  Search in Matchcode (MS) command. This command is reliable only if the last matchcode-command was either "MA", "ME", "MF", "MN", "MP" or "MS". If there is no hit in sequence FATS will return an errorcode of #15.

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$ = "MN\1"

 BASIC Example

See also:

 "MA" Get Next Result After; page 4-50


 

© 2008  GCS Software, Udo Gertz