PDA

Click to See Complete Forum and Search --> : Replacing a SQL Server DB with an Access DB


jdavison
May 8th, 2001, 11:50 AM
Did you set the odbc connection up?

Sastraxi
May 8th, 2001, 03:57 PM
2 pieces of advice:

Make sure the connection string uses the right driver. Also, I think you should use both ADODB.Recordset and ADODB.Connection to connect:

oConn.Open strConnect, "Admin", "YOUR_PWD"
oRec.Open "TableName", oConn, adOpenStatic, adLockOptimistic, adCmdTable

MarcelB
May 9th, 2001, 07:11 AM
jdavison: Yes, I did..

sastraxi: I'm pretty sure I'm using the right driver, and I always connect to my SQL Server DB in the way I did and it works just fine, so unless there's some difference between SQL Server and Access (in connecting with it, I mean), this should work too..

Anyone else maybe?
Thanx!