I have several independent data bases or mdb files. Each
one has a table and a few queries. Some have a report
also. As an example if I have a Colorado.mdb and a
Nebraska.mdb databases which are seperate from each other.
Please reread my previous message. You are storing the same kind of
data in different databases, and storing DATA - the name of a state -
in the name of the .mdb file. THIS IS BAD DESIGN and it will make your
job harder. If you like your job to be hard, that's fine... but if you
had all this data *in one table*, with an indexed State field, you
could solve your problem very easily; and you could still have
separate state-specific queries.
They both have basically the same fields in their own
tables. Lets say I want to find the last name Gunther but
I don't know if it's in the Colorado or Nebraska
databases. Is there a way to hook up both databases to
query both of them for the name Gunther without having to
first open the Colorado database, search for Gunther and
than the Nebraska database.
Yes. And I explained exactly how to do it in the previous post. Here
you have it again.
Create a new empty database, AllStates let's say.
In that database use File... Get External Data... Link to link to the
tables in each state specific database (giving you all the tables in
one database).
Then open the online Help and search for "UNION". Follow the
instructions to create a UNION query, which will string together the
Nebraska data and the Colorado data and the Idaho data and so on into
one big pseudo-table, which can be searched in a single pass.