Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the data type of the field.
Syntax
public Types type()
Run On
Called
Return Value
Type: Types Enumeration
A Types value that specifies the type of the field.
Remarks
If the field is based on an extended data type, Types::UserType is returned as the return value of this method.
Examples
The following example shows the retrieval of the type of a field.
DictField df;
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum));
if (df)
{
print df.type();
}