Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbIsNewRecord

Retrieve the new record flag.

Declaration

CTBOOL ctdbIsNewRecord(CTHANDLE Handle)

Description

ctdbIsNewRecord() retrieves the new record flag. The new record flag is set to YES by functions like ctdbAllocRecord(), ctdbClearRecord(), ctdbDeleteRecord(). Functions like ctdbFindRecord(), ctdbWriteRecord() set the new record flag to NO. Use ctdbIsEditedRecord() to check the edited record flag.

  • Handle [in] the record handle.

Returns

ctdbIsNewRecord() returns the new record flag.

See also

ctdbAllocRecord(), ctdbIsEditedRecord()

TOCIndex