I'm attempting to connect to the current Access 97 database using ADO. ADO examples on various tip boards take the easy way out and show how to connect to an Access 2000 database (See below). I've attempted to use the CurrentDb.Connection object and fail, I've also attempted to build the connection string using "Data Source:=" & CurrentDb.Name. Everything I've attempted has failed. Although I have successfully used the CurrentProject connection in Access 2000, I'm having difficulty connecting to the current project tables in Access 97.
Sub ADOGetCurrentDatabase()
Dim cnn As ADODB.Connection
Set cnn = CurrentProject.Connection
End Sub Growth follows a healthy professional curiosity
Sub ADOGetCurrentDatabase()
Dim cnn As ADODB.Connection
Set cnn = CurrentProject.Connection
End Sub Growth follows a healthy professional curiosity