int db::Table::seek_last (  )  [virtual]

Move the cursor to the last row in the table.

The contents of the current row can be accessed using RowAccessor::get_field or operator[]. The current row can be modified by calling Table::edit.

Returns:
  • DB_NOERROR when successful.
  • DB_ESTATE Table not open, or table is not in browsing mode - last insert or edit incomplete.
Precondition:
The table must be in DB_TABLE_BROWSING mode.
See also:
seek_first, seek_prior, seek_next

Implements db::BidiCursor.


Copyright © 2005-2008 ITTIA®. All rights reserved.