Advantage Concepts
There are several basic movement operations available for use on Advantage ISAM files. For the Advantage TDataSet Descendant, the following table shows the TDataSet specific method names for movement operations and the equivalent generic Advantage operations.
TDataSet Specific Methods |
Advantage Generic Operation |
First |
|
Last |
|
FindKey, FindNearest, GotoKey, GotoNearest |
|
Next, Prior, MoveBy |
|
GotoBookmark |
|
Locate |
* |
* Advantage does not have a direct equivalent to the Delphi/C++Builder specific Locate method. Advantage implements a Locate in the Advantage TDataSet Descendant by doing either a Seek or an Advantage Optimized Filter.
For the ActiveX Data Objects (ADO), the following table shows the ADO specific method names for movement operations and the equivalent generic Advantage operations.
ADO Specific Methods/Properties |
Advantage Generic Operation |
MoveFirst |
|
MoveLast |
|
Seek |
|
MoveNext, MovePrevious |
|
**Bookmark |
|
Find |
** Setting the ADO Bookmark property to a valid record number is the same as doing an ISAM Go To when using ADO with the Advantage OLE DB Provider.