Using the First and Last Methods
Go Up to Navigating Datasets
For example, the following code moves to the first record in CustTable:
The following code moves to the last record in CustTable:
Note: The Last method raises an exception in unidirectional datasets.
Tip: While there may be programmatic reasons to move to the first or last rows in a dataset without user intervention, you can also enable your users to navigate from record to record using the Navigating and Manipulating Records.