Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::GetFieldAsShort

Syntax

COUNT GetFieldAsShort(NINT FieldNumber)

COUNT GetFieldAsShort(const CTString& FieldName)

Parameters

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

Description

Retrieves the field contents as a 2-bytes signed integer (COUNT) value.

Return

GetFieldAsShort() returns the contents as a COUNT value.

See also

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

TOCIndex