Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbGetFieldType

Retrieve the field type.

Declaration

CTDBTYPE ctdbGetFieldType(CTHANDLE Handle)

Description

ctdbGetFieldType() retrieves the field type, given a field handle. Use ctdbGetFieldLength() to retrieve the field length.

  • Handle [in] the Field Handle.

Returns

ctdbGetFieldType() returns the field type, or 0 on failure. Available types are described in FairCom DB API definitions.

See also

ctdbAllocField(), ctdbGetFieldNumber(), ctdbGetFieldName(), ctdbGetFieldLength(), ctdbSetFieldType()

TOCIndex