Re: Date-Fields via ADO

From: Ross McKay (rosko_at_zeta.NOT.THIS.BIT.org.au)
Date: 04/27/04


Date: Tue, 27 Apr 2004 09:52:28 GMT

On Tue, 27 Apr 2004 01:56:05 -0700, André wrote:

>hope this is the right place to ask. Maybe somebody already heard about
>this one, and knows a remedy.
>Connecting to firebird/interbase via odbc/ado results in fatal error.
>Code "SQL Error -804, invalid structure in SQLDA structure". This only
>affects fields of type "date". Using - for example - MSQuery to retrieve
>a recordset including a date-field will cause an error. Selecting all
>other field-types and leaving out date-fields works fine.

This sounds familiar, but I don't remember much about it... however, I
suspect that your problem is one of ODBC driver compatibility. What
version / vender is your ODBC driver?

For reference, I've used the INTERSOLV 3.11.1.0 driver, and the
Visigenic 2.0.9.2 driver, against IB 5.6 with no problems, but I have a
vague memory of older drivers from INTERSOLV failing on Date fields.

You might want to make sure that the version of your Interbase client
matches the version of your Interbase server.

cheers,
Ross.

-- 
"There is more to life than simply increasing its speed." - Mahatma Gandhi


Relevant Pages

  • Re: Unable to load JdbcOdbc library
    ... > expose a JDBC interface, ... > Using ODBCTEST program that comes with the Solaris ODBC driver, ... network protocol accessible. ...
    (comp.lang.java.databases)
  • Re: ADO .NET and Informix
    ... I will also try the generic ODBC driver. ... Informix CSDK. ... problems with the informix ado drivers in the past, ...
    (comp.databases.informix)
  • Re: Connecting to Oracle via MS ODBC driver error
    ... from windows 2003 server using microsoft odbc for oracle drivers.... ... I had problems with the Microsoft ODBC driver when we switched from ... ODBC or OLEDB driver instead (might need to perform a custom install ... How To Acquire and Install the Microsoft Oracle ODBC Driver ...
    (comp.databases.oracle.misc)
  • Re: Unable to load JdbcOdbc library
    ... >> Using ODBCTEST program that comes with the Solaris ODBC driver, ... > network protocol accessible. ... > As IBM advertises the JDBC driver as type 4 ...
    (comp.lang.java.databases)
  • Re: Word Mail Merge with Foxpro data
    ... As long as you have the updated FoxPro ODBC driver (I think you will see ... at open" to ensure that the extra dialog to "confirm the data source" is ...
    (microsoft.public.word.mailmerge.fields)