Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetFieldAutoSysTime

Get the setting of an autotimestamp field. If on output, both create and update are set to NO, the field has automatic assignment turned OFF.

Declaration

CTDBRET ctdbDECL ctdbGetFieldAutoSysTime(CTHANDLE Handle, pCTBOOL create, pCTBOOL update)

Description

  • Handle [IN] - Field Handle.
  • create [OUT] - YES when the field value is assigned on write of new records
  • update [OUT] - YES when the field value is assigned on write of existing records

Returns

CTDBRET_OK on success or c-tree error code on failure.

TOCIndex