G
Guest
I have a database that contains many tables with exactly the same structure.
They're a result of a monthly "snapshot" of the core data in another
(non-Access) application. Each table corresponds to an archive made on that
date, and they serve as an index into the archive files. That way I don't
have to restore a bunch of archives to find the one that's needed.
The tables are created by an import from a text file of fixed-length
records. The import specification is saved, so that process is relatively
painless.
I'd like to be able to search through all of the tables and return a list of
the matching records, including the table names of course. The result is a
kind of running history of the changes made to that item.
I need some advice on how to loop through all of the tables to get the
matching records, and how to record the matches. I got as far as "For Each"
in the Visual Basic help, but don't really know what objects and methods to
use from there.
The number of tables in the database keeps increasing, as I import data each
month, so I'm looking for a solution that can handle that "automatically".
Maybe the methodology I described is completely bizarre, so I'm open to
suggestions!
Thanks,
Randy
They're a result of a monthly "snapshot" of the core data in another
(non-Access) application. Each table corresponds to an archive made on that
date, and they serve as an index into the archive files. That way I don't
have to restore a bunch of archives to find the one that's needed.
The tables are created by an import from a text file of fixed-length
records. The import specification is saved, so that process is relatively
painless.
I'd like to be able to search through all of the tables and return a list of
the matching records, including the table names of course. The result is a
kind of running history of the changes made to that item.
I need some advice on how to loop through all of the tables to get the
matching records, and how to record the matches. I got as far as "For Each"
in the Visual Basic help, but don't really know what objects and methods to
use from there.
The number of tables in the database keeps increasing, as I import data each
month, so I'm looking for a solution that can handle that "automatically".
Maybe the methodology I described is completely bizarre, so I'm open to
suggestions!
Thanks,
Randy