Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::GetFieldAsWord

Syntax

UCOUNT GetFieldAsWord(NINT FieldNumber)

UCOUNT GetFieldAsWord(const CTString& FieldName)

Parameters

  • FieldNumber [in] The field number.
  • FieldName [in] The field name.

Description

Retrieves the field contents as an unsigned two-bytes integer value (UCOUNT).

Return

GetFieldAsWord() returns the contents as an UCOUNT value.

See also

GetFieldAsBool(), GetFieldAsByte(), GetFieldAsBlob(), GetFieldAsChar(), GetFieldAsDate(), GetFieldAsTime(), GetFieldAsDateTime(), GetFieldAsMoney(), GetFieldAsShort(), GetFieldAsFloat(), GetFieldAsSigned(), GetFieldAsUnsigned(), GetFieldAsString(), GetFieldAsCurrency(), GetFieldAsBigint(), GetFieldAsNumber()

TOCIndex