FATS - Fast Access Tree System
Table of Contents
List of Commands
"ML" Get Last Result

"ML" Get Last Result


Command string:

CMND$ = "ML\{FileNo}"

FileNo File number

Purpose:

Get the last 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 last 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$ = "ML\1"

 BASIC Example

See also:

 "MF" Get First Result; page 4-65


 

© 2008  GCS Software, Udo Gertz