Count Linked Tables and Reattach?

B

Bucky

I have database structure that involves a front- and back-end with the
forms, queries, macros, etc in the front and the data tables in the
back-end. The tables in the front are LINKS to the real tables in the
back end. Let's call them Stats.mdb (front) and StatsData.mdb (back).

When I open Stats.mdb, I want it to count the number of linked tables
and determine if it's 12. If it's not 12, I want it to delete all the
linked tables and relink them.

How can I do it? Is it possible? What kind of VB code?

Thanks for any input!

Jim
 

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