Topic group Related topics
Moves the row cursor to the last row in the rowset.
The rowset in which you want to move the row cursor.
Call last( ) to move the row cursor to the last row in the rowset. If a filter is active, it moves the row cursor to the last row in the rowset that matches the filter criteria.
As a navigation method, last( ) interacts with canNavigate, onNavigate, and implicit saves. For more information, see next( ).
If a call to last( ) results in the endOfSet property returning true, either no rows remain that match the filter criteria or, if no filter is in use, no rows remain in the rowset.
Going to the last row in a rowset may not be an optimized operation on some SQL servers. For those servers, calling last( ) may take a long time for large rowsets.
Using the rowset's navigateByMaster property to synchronize movement in master-detail rowsets, modifies the behavior of the atLast( ) method. See navigateByMaster for more information.