ctdbGetFieldNbr
Retrieve the field number in the table fields list
Declaration
NINT ctdbGetFieldNbr(CTHANDLE Handle)
Description
ctdbGetFieldNbr() retrieves the field number in the table fields list, given a field handle. Use ctdbGetFieldNumber() to retrieve the field number given the field name. Use ctdbGetFieldNumberByName() to retrieve the field number given the record handle.
Returns
ctdbGetFieldNbr() returns the field number, or -1 on failure
See also
ctdbAllocField(), ctdbSetFieldProperties(), ctdbGetFieldNumber(), ctdbGetFieldNumberByName(), ctdbGetFieldLength(), ctdbGetFieldName()