HI
I have inherited the maintenance of an access2000 application which in production links to sql server 2000 tables.
The code snip below works fine on sql server 2000 using ODBC but fails when i run on server 2005 on my own machine.
Help very much appreciated!!
On Error GoTo ErrHandler
Dim strConnSPDB As String
Dim errLoop As ADODB.Error
Dim strError As String
strConnSPDB = "DSN=SPDB;"
Set cnnSPDB = New ADODB.Connectio n
cnnSPDB.Connect ionTimeout = 30
cnnSPDB.Open "SPDB"
OpenSPDBConnect ion = True
I have inherited the maintenance of an access2000 application which in production links to sql server 2000 tables.
The code snip below works fine on sql server 2000 using ODBC but fails when i run on server 2005 on my own machine.
Help very much appreciated!!
On Error GoTo ErrHandler
Dim strConnSPDB As String
Dim errLoop As ADODB.Error
Dim strError As String
strConnSPDB = "DSN=SPDB;"
Set cnnSPDB = New ADODB.Connectio n
cnnSPDB.Connect ionTimeout = 30
cnnSPDB.Open "SPDB"
OpenSPDBConnect ion = True