Share via


DictField.baseType Method

Returns the base type of the field, such as string, real, integer, date, time, enum, or container.

Syntax

public Types baseType()

Run On

Called

Return Value

Type: Types Enumeration
A Types value that specifies the type of the field.

Examples

The following example shows the retrieval of the base type of a field.

DictField df;
 
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum)); 
if (df)
{
    print strfmt("The field type is %1.", df.baseType());
}

See Also

DictField Class

Types Enumeration

DictField.type Method