Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetFieldType

Sets the field type

Declaration

CTDBRET ctdbSetFieldType(CTHANDLE Handle, CTDBTYPE type);

Description

ctdbSetFieldType() sets the field type. Use ctdbGetFieldType() to retrieve the field type.

  • Handle [in] the Field Handle.
  • type [in] the Field Type. Available types are listed in the left-hand column ("FairCom DB API Field Type") in Field Types.

Returns

ctdbSetFieldType() returns CTDBRET_OK on success, or a FairCom DB API C API error code on failure.

See also

ctdbGetFieldType()

TOCIndex