You might try erasing the contents of the old Tables, copying the
contents of the new ones into them, and then (with AutoCorrect enabled)
renaming the revised old Tables using the new names. (Did I mention
being sure to back up your database first?) You'll need to check to
ensure that the Queries were updated properly, but if it works as it
should, you'll save some work. Actually, you might not need to rename
the Tables, as the old Tables will now contain the new data and the
queries should work correctly.
Or you might try simply rewriting all the Queries. I usually do that,
in Query Design View, by adding the new Table to the upper pane, then
substituting its name for the old Table's name in the Table row below.
Then I open the SQL View to look for any that I missed (such as in
subqueries). If you have Access 2003 or later, you can display a list
of (most of) the Queries that make use of a given Table. (This misses
references like the contents of Union Queries or like SQL that you
compute in code, but it can still be quite helpful.)
If this is likely to happen again, you might try creating a Query that
reflects the Table's contents (e.g., "SELECT * FROM MyTable;") and use
its name in the other Queries instead of the Table's name. If you can
get that to work, updating in the future will be easier -- just redefine
the basic Query to point to the revised Table, and the other Queries
will refer to the new one.
-- Vincent Johns <
[email protected]>
Please feel free to quote anything I say here.