TableMode controls the behavior of a Table object.
If a Table function requires a specific mode as a precondition, and that precondition is not met, it will return a DB_ESTATE error.
- See also:
- Table::open, Table::create, Table::close, Table::insert, Table::edit, Table::cancel, Table::begin_seek, Table::set_range_start, Table::set_range_end
- Enumerator:
-
| DB_TABLE_CLOSED |
No table is open. |
| DB_TABLE_INSERTING |
A row is being inserted. Result of calling Table::insert. |
| DB_TABLE_EDITING |
A row is being edited. Result of calling Table::edit. |
| DB_TABLE_BROWSING |
The table is being browsed. |
| DB_TABLE_SEEKING |
Seek criteria is being entered. Result of calling Table::begin_seek. |
| DB_TABLE_RANGE_START |
Range start criteria is being entered. Result of calling Table::set_range_start. |
| DB_TABLE_RANGE_END |
Range end criteria is being entered. Result of calling Table::set_range_end. |