I'm trying to have the same code base for Firebird and MSSQL. I'm using Devart's driver to access both, but in MSSQL, Datetime fields are read as TSQLTimeStampFields instead of TDateTimeFields.
How can I solve this?
How to access DateTime fields as TDateTimeField
DbxIda maps DATE fields to TDateField, and TIMESTAMP fields to TSQLTimeStampField. DbxSda maps DATETIME fields to TSQLTimeStampField. DbxIda doesn't map any fileds to TDateTimeField, because dbExpress supports only TSQLTimeStamp fields.
You can find more detailed information about it in Readme.html.
You can find more detailed information about it in Readme.html.