The First method moves the cursor to the first row in a dataset and sets the BOF property to True. If the cursor is already at the first row in the dataset, First does nothing.
For example, the following code moves to the first record in CustTable:
CustTable.First;
CustTable->First();
The Last method moves the cursor to the last row in a dataset and sets the EOF property to True. If the cursor is already at the last row in the dataset, Last does nothing.
The following code moves to the last record in CustTable:
CustTable.Last;
CustTable->Last();
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|