FATS - Fast Access Tree System
Table of Contents
List of Commands
"MF" Get First Result

"MF" Get First Result


Command string:

CMND$ = "MF\{FileNo}"

FileNo File number

Purpose:

Get the first 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 first data record of the result set generated via a preceding  Search in Matchcode (MS) command.

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

 BASIC Example

See also:

 "ML" Get Last Result; page 4-69


 

© 2008  GCS Software, Udo Gertz