TMedTable.HbDbSeek TMedTable

function HbDbSeek( expKey: Variant; lSoftSeek: Boolean; lLast: Boolean=false ): Boolean; overload;

Description

Low-level xHarbour Seek and resynchronization.

Repositions the cursor to the record having expKey value as index key. Active index is being used for the search.

If record is found method returns true.

Otherwise false is returned and the following holds:

·if SoftSeek was false the cursor is positioned on the last dataset record.

·if SoftSeek was true the cursor is positioned on the first record with key value larger than expKey

Specifying lLast as true means that the search should be performed in backwared direction. In This case the last record with specified key value is found if method returns true.

See xHarbour/Clipper DbSeek() function documentation for more details.