views:

24

answers:

0

Hi, I've got an Access application that connects to Sybase 1192.

Access 2003 works fine, but when I open the same app. using Access 2007, I get the message:

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I've checked using the command prompt that I'm able to connect to Sybase successfully.

The connection is established using ADO and the connection string is

"DRIVER={Sybase System 11};DSN=;UID=;PWD=;ServerName=;DB=;WSID= IS=SET ANSINULL OFF"

Do I need to do anything differently in the Access VBA code while establishing the ADODB connection?

Many thanks, Agnyata