Establish_Find_Direction - BaseData_Set
Initializes the constrained find commands to perform searches using the given parameters
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| eFindMode | Integer | May be any of the standard find modes, i.e., lt, le, eq, ge, or gt, or it may be either Next_Record, First_Record, or Last_Record |
| iFile | Integer | Number of the table in the current filelist |
| iIndex | Integer | Number of the index to use to perform the find |
Syntax
Procedure Establish_Find_Direction Integer eFindMode Integer iFile Integer iIndex
Call Example
Send Establish_Find_Direction eFindMode iFile iIndex
Description
The Establish_Find_Direction initializes the constrained find commands to perform searches using the given parameters.
Sample
Send Establish_Find_Direction ge Items.File_Number 1
Notes
This method clears the RowId in the global record buffer. FileName.File_Number is a predefined constant, where FileName should be replaced with the actual table name, as seen in the example above. At compile time, the actual file number from the .FD file for that table is substituted for FileName.File_Number.[/li]