TTdbDataSet.GetEnumValue
TTdbDataSet

Retrieves the numeric value for an enumeration constant.

function GetEnumValue(FieldNo: Integer; const EnumStr: string): Integer;

Description
Call GetEnumValue to find out, which numeric value is assigned to a given enumeration constant. This function is used, if a TurboDB database table has a column of enumeration type.