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