ODBC Connection returns no Data
- From: "Frank" <fs@xxxxxxxxxxxxxx>
- Date: Tue, 25 Sep 2007 20:39:48 +0200
Hello,
I'm connecting to an odbc datasource (here: AR System ODBC Driver) with ADO
2.8 in a Microsoft Access XP Database with VBA. I define the Connection
String, the command string and a recordset, open the connection and open the
recordset. All these Actions complete without error. But the recordset
contains no data. The loop "While Not rs.EOF" is not being entered. I can
enumerate the Fieldnames of the recordset, the state of the recordset and
the connection are "Open". But the command "rs.MoveNext" fails with the
error "Driver not capable". The same command string (SELECT...), pasted in
an Excel MS Query, returns data. I think the ODBC driver version changed but
has anyone here an idea? Why can a recordset be opened successfully, but
returns no data?
Thank you
Frank
.
- Follow-Ups:
- Re: ODBC Connection returns no Data
- From: Bob Barrows [MVP]
- Re: ODBC Connection returns no Data
- Prev by Date: Re: Accessing Exchange Data with ADO
- Next by Date: Re: ODBC Connection returns no Data
- Previous by thread: SqlConnection.ConnectionString
- Next by thread: Re: ODBC Connection returns no Data
- Index(es):
Relevant Pages
|
|