scubadiver said:
Do I hold the shift key before I click on the .bat file? (I am
running V2000)? I am still getting the same message. I've never
decompiled before so I don't know what am I doing wrong.
I am also still getting the same problem I explained in my original
message.
First close all instances of Access.
Then, perhaps select the batfile first, hold the shift key, then double
click the bat file, or right click the bat file and select open.
Holding down the shift key, should normally disallow any running
of code. The messages you get, indicates that there are some code
running and/or forms or reports opening, that tries to reference
forms or reports etc. For a decompile to have the desired effect,
it is important that no code runs.
When the database window occurs, close the db, and close Access.
Open Access again, hold the shift key, and open the this db again or,
doubleclick the mdb file, also while pressing shift key.
In the Tools menu, find Database Utilities, and compact & repair BUT
be sure to hold the Shift when selecting Compact and Repair.
When you see the database window again, hit ctrl+g or enter any module
and do a debug | compile.
Then, do a compact and repair again.