Jeff
Some "Access" terminology for the future... (see comments in-line)
Jeff said:
Sorry my post wasnt that clear.
QueryX:
My query has two tables linked by a "bar", so the field is linked.
Access queries "join" tables. The term "linked" is reserved for tables that
live in other dbs but are visible in the one you're working in.
So - Table1 is linked to Table2 in the query by fieldA.
Problem:
The Table1 was a "Linked table" so the table was not in Access, the table
is
So this is using the standard Access definition of "linked".
on my C: drive. But - here is the big issue, when I viewed QueryX, the
Table
"When I viewed QueryX" ... do you mean open the query in design view?
was not on my C: drive, so it was not linked to anything, so the QueryX
had
How would you know from within a query in Access that the table wasn't where
it should be? By the way, tables don't exist on their own, but only inside
an Access .mdb (or other source). Are you saying that the Access .mdb file
that was supposed to be on your C: drive is no longer there? If so, you'll
need to go to the Tables in your database and either re-link (Access
definition) to the new location or your query will fail!
no "link" between Table1 and Table2 by fieldA. So I closed the query AND
DID
NOT SAVE.
Just because you didn't say SAVE doesn't necessarily mean Access didn't (do
you mean you chose the don't save button?). Access can get its 'warnings'
turned off and you won't be notified.
that if you view the query and do not save, it
still changes automatically and breaks itself. That seems like a problem.
It may be that your query has gotten corrupted. If this were mine, I'd
first ensure that both TableA and TableB were available in the .mdb, then
I'd create a new query joining them on FieldA (to use your description).
Good luck!
Regards
Jeff Boyce
Microsoft Office/Access MVP