July 21st, 2004, 05:29 AM
Numeric fields always 0 with FB ODBC driver
I am using XTG Systems FB ODBC driver to acces a FB database from Visual Basic using ADO Objects. Everything works fine except for numeric -non integer- fields, I always get a 0 for those fields. I don't know if I am doing something wrong in Visual Basic, or the problem comes from the driver ???
In Visual Basic I just use a ADODB Recordset and access the fields with the ! operator.
July 21st, 2004, 11:39 AM
July 21st, 2004, 12:32 PM
Thanks for the reply ... Ok, in Visual Basic, with the driver you suggested I get the right values for the numeric fields, but unfortunately, in VBA, from where I need to access the database, the driver does not work -I get an exception when trying to access data in a recordset-
Could anyone suggest any other driver or solution to this?
Thanks a lot.