I have data in a few external Access tables that I want to link to my Access 2007 database. Depending on situation (and permissions of the person using the database) I want to dynamically link to one or more of the external tables when a specific user form opens. Then I want to delete the links when the form closes.
How does one go about creating and deleting a linked table using VB? I know the name of the database files and the tables I want to link but I'm not sure which objects & methods to use (so I don't know where to look in the the Access help file).
Could someone point me in the right direction? I don't need the complete code, just an object and/or method name so I know where to look in the help files. I've been digging for a couple of hours at this point and I'm pretty frustrated that I can't figure this one out on my own.
Thanks,
sphinney
How does one go about creating and deleting a linked table using VB? I know the name of the database files and the tables I want to link but I'm not sure which objects & methods to use (so I don't know where to look in the the Access help file).
Could someone point me in the right direction? I don't need the complete code, just an object and/or method name so I know where to look in the help files. I've been digging for a couple of hours at this point and I'm pretty frustrated that I can't figure this one out on my own.
Thanks,
sphinney
Comment