Change field mapping
Posted: Thu 14 Apr 2011 16:19
Is it possible to change the default mapping of fields?
I want my DATE fields in Firebird to come as TSQLTimeStampField instead of TDateField.
I explain why: In MSSQL 2005, there is no DATE field, only DATETIME, and I want to make a single code compatible with both without changing my DATE fields in Firebird to DATETIME. Of course, in Firebird the time part would be discarded during convertion.
Thanks
I want my DATE fields in Firebird to come as TSQLTimeStampField instead of TDateField.
I explain why: In MSSQL 2005, there is no DATE field, only DATETIME, and I want to make a single code compatible with both without changing my DATE fields in Firebird to DATETIME. Of course, in Firebird the time part would be discarded during convertion.
Thanks