Opening External Table

the_utmost

Registered User.
Local time
Today, 16:19
Joined
Mar 10, 2005
Messages
40
Hi:

I want to query a table on a network drive. The path, for instance would be S:\Common\Users\ARTest.mdb. I cannot change the CurrentDB since this is a read-only property. Do I need to link the tables to my current db or what?
 
Just About

I tried this and it threw an error:

Dim tdf As DAO.TableDef
Dim strPath As String

strPath = ";DATABASE=" & strfilepath

tdf.Connect = strPath
tdf.RefreshLink
What am I doing wrong?
 

Users who are viewing this thread

Back
Top Bottom