G
Guest
I use the following command to retrieve data for current project tables.
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.CursorLocation = adUseClient
LineNote.Open "StoredProcedureName", CurrentProject.Connection,
adOpenForwardOnly, adLockReadOnly
What I need to do is read data from a table in another Access Database. I
was able to figure this out before, but for some reason, today I'm drawing a
complete blank.
How do I change my connection form "CurrentProject" to the database I want
to read from. The other database I'm trying to read from is an Access
Database.
Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.CursorLocation = adUseClient
LineNote.Open "StoredProcedureName", CurrentProject.Connection,
adOpenForwardOnly, adLockReadOnly
What I need to do is read data from a table in another Access Database. I
was able to figure this out before, but for some reason, today I'm drawing a
complete blank.
How do I change my connection form "CurrentProject" to the database I want
to read from. The other database I'm trying to read from is an Access
Database.