First, I opended just the app _be.mdb database and set the check mark on the
Hidden Tables and System Tables. When I closed the options form, both sets
were visible, but the hidden tables listings looked like the system tables.
When I checked just the "System Tables" on and the Hidden Tables off, they
both continued to show. With only Hidden Tables checked, neither showed.
When the tables were visible, I tried to open several, and got the message
"could not read definitions. No read definitions permission for table or
query "tMembers" (table name).
I tried the snoop (after slight revision to make it a public function and
changing the dim statement to "as"). When I entered a table name of a
"visible" table, it completed the function. When I entered a "missing"
table, it gave the message "Records cannot be read; no read permission on
'tMembers'".
What the user told me was that she had completed entering the weekend's
data, then went to back up the table by a drag/drop to another hard drive.
It gave her an error message part-way through the copy process. Thereafter,
she couldn't open the program again because of "The expression On Open you
entered as the Event Property...."
From the size of the app_be.mdb file, I would guess that the tables are
probably still in there, but I can't see how to get at them.
Do you have any further suggestions?
--
Gordon Jones
David C. Holley said:
Have you checked to see if the SHOW HIDDEN TABLES property in the
OPTIONS window is selected? It may not be worded as such, but you'll
know which option I'm referring to. Also, open the MSysObjects table and
look for the table names in there. The table contains a list of every
Access object (table, form, query, etc.) in a database. If they're not
there, I would venture that they've been deleted. If the names exist
there and you're not able to view them or the Snoop below fails, I'm
thinking that they're lost.
Also, try this snoop...
Sub snoop()
Dim rs = DAO.RecordSet
Set rs = CurrentDb.OpenRecordset([missingTableName])
stop
rs.close
Set rs = nothing
end snoop
If the SET statement failes, something has gone horribly wrong.
David H
Gordon said:
I have a user who can't open her .mde application. She sent me a copy of her
app_be.mdb file, and a group of 30 alphabetically-consecutive tables of a
total of 65 tables are missing. I can't believe they are gone, but can't
figure out how to find them. HELP!