db::UniCursor::seek_first (  )  [pure virtual, inherited]

Move the cursor to the first 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 mode - last insert or edit incomplete.
Precondition:
The table must be in DB_TABLE_BROWSING mode.
See also:
seek_last, seek_prior, seek_next

Implemented in db::Query, and db::Table.


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