hello,
I would like to use VBA to set up the linked tables in my database when it opens. I have searched, and there are related topics, but I think I need a little help. I am doing this because some users have their drives mapped differently, and I need to use the base server instead of the letter of the drive in the linking. The linked table manager won't let me do that, as far as I understand.
Anyway, I have put together this code. I would like the simplest solution possible. I was thinking just delete all linked tables, then set each one up when the database opens. I need to specify the table within the database as well.
Any help is greatly appreciated! Big thanks to all!
Pat
Dim tdf As TableDef
tdf.Connect = ";DATABASE=" & "\\WN2123\myfolder\mydatabase.mdb"
tdf.Name = "Table_1
I would like to use VBA to set up the linked tables in my database when it opens. I have searched, and there are related topics, but I think I need a little help. I am doing this because some users have their drives mapped differently, and I need to use the base server instead of the letter of the drive in the linking. The linked table manager won't let me do that, as far as I understand.
Anyway, I have put together this code. I would like the simplest solution possible. I was thinking just delete all linked tables, then set each one up when the database opens. I need to specify the table within the database as well.
Any help is greatly appreciated! Big thanks to all!
Pat
Dim tdf As TableDef
tdf.Connect = ";DATABASE=" & "\\WN2123\myfolder\mydatabase.mdb"
tdf.Name = "Table_1