How do you fix database conversion errors?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

After converting a database from Access 2000 to Access-97, I get "The
expression AfterUpdate you entered as the event property setting produced the
follow error", followed by a general discription of an error in a macro,
procedure, or event property. I am not able to reach a breakpoint in the
AfterUpdate event property code either. The Access 2000 code performs
without error.
 
If this has always happened since you converted, then the problem may be in
Access 2000. If so, you need to fix the problem there, and convert again. A
decompile sounds like the way to start.

1. Turn off the Name AutoCorrect boxes under:
Tools | Options | General.

2. Compact the database:
Tools | Database Utilities | Compact

3. Decompile a copy of the database by entering something like this at the
command prompt while Access is not running. It is all one line, and include
the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

4. Compact again.

5. Convert to A97.

6. Open the A97 database. Open the Immediate window (Ctrl+G). Check your
references:
Tools | References.
More info on references:
http://members.iinet.net.au/~allenbrowne/ser-38.html

More suggestions on recovering from corruption:
http://members.iinet.net.au/~allenbrowne/ser-47.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top