Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTField::GetBinaryFlag

Get the field binary flag.

Declaration

CTDB_BINARY_FLAG CTField::GetBinaryFlag() const

Description

This method gets the value of the field's binary flag. Some of the most frequently encountered values include:

  • CTDB_BINARY_VARCHAR = 4, VARCHAR/LVARCHAR field created by c-treeSQL in v10
  • CTDB_BINARY_CLOB = 5, CLOB field created by c-treeSQL in v10
  • CTDB_BINARY_BLOB = 6, BLOB field created by c-treeSQL in v10
  • CTDB_NUMBER_MONEY = 7, NUMBER field used to store MONEY type (instead of using CT_CURRENCY)

Return Values

Returns: binary_flag

Value

Symbolic Constant

Explanation

0

CTDBRET_OK

Successful operation.

See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

See Also

TOCIndex