XBase.FindByKey
Syntax:
Parameters:
<Mode> (required)
Record search mode:
- "=" - searches for an exact key match;
- ">=" - searches for an exact key match or greater;
- ">" searches for a value greater than the key;
- "<=" - searches for an exact key match or less;
- "<" searches for a value less than the key;
Returned value:
True - record found; False - otherwise.
Description:
Availability:
Example:
// Find by a complex key xB.CurrentIndex = xB.Indexes.IDXCNAME; // index CODE + TRIM(NAME) xB.Key.CODE = "00001"; xB.Key.NAME = "System unit"; RecordsFound = xB.FindByKey("="); |
See also:
XBase, property CurrentIndex