Movement Operations

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

Go Top

Last

Go Bottom

FindKey, FindNearest, GotoKey, GotoNearest

Seek

Next, Prior, MoveBy

Skip

GotoBookmark

Go To

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.

ADO Specific Methods/Properties

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

Go Top

MoveLast

Go Bottom

Seek

Seek

MoveNext, MovePrevious

Skip

**Bookmark

Go To

Find

Locate

** 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.