db::RowAccessor::find_field ( const NameChar *  name  )  const [pure virtual]

Find a field in the table.

Parameters:
name The name of the field to search for. (required)
Returns:
  • The index of the field named name.
  • DB_EINVAL If no field name is supplied.
  • DB_ENOTFOUND If the field is not found.
  • DB_ESTATE If the table is not opened.
Note:
The index is no longer valid if the table description is modified.
See also:
get_field(int, Value), set_field(int, Value)

Implemented in db::CursorRowAccessor.


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