Linked table manager to be changed from (X:\) a server drive to (C:\) a local machine 
Author Message
 Linked table manager to be changed from (X:\) a server drive to (C:\) a local machine

Could you help me automate the linked table manager from
        X:\95Access\Data\City.Mdb       (the server)
To      C:\95Access\Data\City.Mdb       (the work station)

Your help is appreciated
--



Wed, 04 Jul 2001 03:00:00 GMT  
 Linked table manager to be changed from (X:\) a server drive to (C:\) a local machine
Open items in your TableDefs collection and change the Connect property of
each TableDef:

        dim dtef as tabledef
        for each tdef in currentdb.tabledefs
                if left(tdef.connect,1)="X" then
                        tdef.connect="C" & mid(tdef.connect,2)
                end if
        next

HTH
        - Turtle



Quote:
> Could you help me automate the linked table manager from
>    X:\95Access\Data\City.Mdb       (the server)
> To C:\95Access\Data\City.Mdb       (the work station)

> Your help is appreciated
> --




Thu, 05 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing the linked table path without the linked table manager

2. Linked tables - changing the link

3. Changing Linked Table link?

4. Link Table manager

5. How do you open the link table manager.

6. linked table manager

7. MSysObjects and Linked Table Manager

8. 97 Linked Table Manager brings up A2k Windows Installer

9. Linked Table Manager

10. Linked Table manager

11. Link Table Manager

12. Linked Table Manager Add-in

 

 
Powered by phpBB® Forum Software