Running access 2000 ap on sql 2005 express edition

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mbsparrow
    New Member
    • Nov 2006
    • 6

    #1

    Running access 2000 ap on sql 2005 express edition

    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
Working...