Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbIsEditedRecord

Retrieve the edited record flag.

Declaration

CTBOOL ctdbIsEditedRecord(CTHANDLE Handle)

Description

ctdbIsEditedRecord() retrieves the edited record flag. If YES, the record has been edited since it has been read from the table. Functions like ctdbSetFieldAsString() and all other ctdbSetFieldAs...() functions set the edited record flag to YES. Functions like ctdbAllocRecord(), ctdbClearRecord(), ctdbResetRecord(), ctdbFindRecord() and other search functions clear the edited record flag. Use ctdbIsNewRecord() to check the new record flag.

  • Handle [in] the record handle.

Returns

ctdbIsEditedRecord() returns the edited record flag.

See also

ctdbAllocRecord(), ctdbIsNewRecord()

TOCIndex