property FieldType: See "TFieldType"
procedure OnMapEvent(var Value:Variant);
begin
if Dataset['myfield'].FieldType = ftInteger then
Value := Dataset['myfield'].AsInteger;
end;
Returns the data type of the field. Can be used to determine what data type the field is so that you can accurately work with the data.