Skip to content

Flow documentation · legacy product

Field.FieldType ​

Declaration ​

property FieldType: See TFieldType

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
if Dataset['myfield'].FieldType = ftInteger then
Value := Dataset['myfield'].AsInteger;
end;

Description ​

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.