Link tables Path

G

Guest

1. How can I know programmatically the path of the link tables?
2. I can re-link tables programmatically if all linked tables have the same
path. How can I re-link tables if we have more than one path, I mean if I
have linked tables to different BE and how can I get all paths.
Thanks
José
 
A

Allen Browne

A1. Read the Connect property of the TableDef.

A2.
You may be able to parse the name from the Connect property, modify it to
new path, assign the Connect Property, and RefeshLinks.

Alternatively, you may feel safer if you user a table that stores your
linked table names and the name of the appropriate back end database for
each one.

Naturally you need to test the path to each back end whenever you open your
application, to ensure they are all available.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top