Extracting values for enum type
Extracting values for enum type
How can I extract the values for an enumerated type?
How do I get values from an enum type?
OK, but how do I get the individual values in the first place?
Use the AsString property of TField to get a value. For example:
Code: Select all
v := PgQuery.FieldByName('a').AsString;