CTRecord.GetFieldAsWord
Note: All GetFieldAs... and SetFieldAs... methods are considered obsolete. The suggested replacements are GetFieldValue and SetFieldValue.
Syntax
UCOUNT GetFieldAsWord(int FieldNumber)
UCOUNT GetFieldAsWord(String FieldName)
Parameters
Description
Retrieves the field contents as an unsigned two-bytes integer value (UCOUNT).
Return
GetFieldAsWord() returns the contents as an UCOUNT value.
See Also
GetFieldAsBigint(), GetFieldAsBlob(), GetFieldAsBool(), GetFieldAsByte(), GetFieldAsChar(), GetFieldAsCurrency(), GetFieldAsDate(), GetFieldAsDateTime(), GetFieldAsFloat(), GetFieldAsMoney(), GetFieldAsNumber(), GetFieldAsShort(), GetFieldAsSigned(), GetFieldAsString(), GetFieldAsTime(), GetFieldAsUnsigned(), SetFieldAsWord(), GetFieldValue()