UltraLite User's Guide
C++ API Reference
ULCursor class
bool Last( )
Move the cursor to the last row in the table or result set.
true (1) if successful.
false (0) if unsuccessful.
The following example moves to a position after the last row in a table:
tb.Open( &conn ); tb.Last(); tb.Next();