Product Documentation

c-treeACE V11.0 Update Guide

Previous Topic

Next Topic

c-treeDB Default Field Types Added

To ease default field definitions in c-treeDB, a new API function with several default types have been added.

CTDBRET ctdbDECL ctdbSetFieldDefaultValueType(CTHANDLE Handle, CTDEF_TYPE def_type);

Where def_type is one of the following symbolic constants:

  • CTDEF_LITERAL: the value is a literal
  • CTDEF_USER: the current* user name
  • CTDEF_NULL: null
  • CTDEF_SYSDATE: the current* date
  • CTDEF_SYSTIME: the current* time
  • CTDEF_SYSTIMESTAMP: the current* timestamp

TOCIndex