Changing link source

J

jnew

Greetings,

My application includes linked and local tables. I periodically need to
change the source for the linked tables and have written a procedure to
delete the existing tables in the application and re-link to the new
location. Unfortunately, the routine does not distinguish between the linked
tables and the local tables. I have two questions:

1. Is there a way to distinguish between a linked table and a local table in
the tdefs?
2. Is there a better way to do this?

Any help will be appreciated.
 
D

Douglas J. Steele

One approach is to check whether the Connect property has a value or not. If
it does, it's linked.
 

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