SetSchemaInfo + TFieldType
Posted: Wed 01 Oct 2014 13:22
Hello,
I want to retrieve a table schema information with the "SetSchemaInfo" function.
All is fine, I get the columns names, ...
But how can I convert dbExpress types to delphi field type in a simple way?
I wrote a function with many tests and comparisons but it's a shame to maintain that for 3 differents databases.
I'm using delphi 2006 and delphi XE.
Any hint for me?
Thank you.
Kinds regards,
Fabien D.
I want to retrieve a table schema information with the "SetSchemaInfo" function.
All is fine, I get the columns names, ...
But how can I convert dbExpress types to delphi field type in a simple way?
I wrote a function with many tests and comparisons but it's a shame to maintain that for 3 differents databases.
I'm using delphi 2006 and delphi XE.
Any hint for me?
Thank you.
Kinds regards,
Fabien D.