FATS - Fast Access Tree System
Table of Contents
List of Commands
"ME" Get Previous Result Before

"ME" Get Previous Result Before


Command string:

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

FileNoFile number
RecIDRecord- resp. id-number

Purpose:

Get the previous 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 previous hit. As a result, the record- resp. ID-number of the data record before 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$ = "ME\1\"+STR$(RECNO)

 BASIC Example

See also:

 "MP" Get Previous Result; page 4-73


 

© 2008  GCS Software, Udo Gertz