
problems connecting access2000 db
hi there ,just started ado & i cant anderstand why when
i use an .mdb file of access 97 i have no problem connecting
the db , but when i create a new db file in access 2000
i get an error "unrecohnized database format ..'name of file'"
this is the code:
"Public dbDATA As ADODB.Connection
Public Sub OpenDB()
Set dbDATA = New ADODB.Connection
dbDATA.Open "provider=microsoft.jet.OLEDB.3.51;Data
Source=d:\eranvb\shai\Shaidb.mdb"
End Sub"
i hope someone can get me out of one thenks eranb