Visual Basic Applictions Project Corrupt

I'm converting access97 dbs to Access2000 and I get the message "The visual Basic for Applications Project in the Data Base is corrupt"  and the conversion shuts down.

What do I do to correct this problem?

Thanks

Elton
katzwhiteAsked:
Who is Participating?
 
Mach1proConnect With a Mentor Commented:
Try opening the Access97 project in Access 97.  Run the database repair utililty, then open up a code module and Compile and save All.  Run a compact of the database and then try converting it again if you successfully went through the last 3 steps with no errors.
0
 
LambertHeenanCommented:
you could try decompiling the A97 database before doing the converison to A2K.

Back it up first and then run this command...

[Path To MS Access97]\MsAccess.exe /decompile "Your Database.mdb"

Then attempt to convert it to Access 2000
0
 
katzwhiteAuthor Commented:
Found some ophaned code on the first compile, then compacted and tried to convert, said couldn't convert some forms, couldn't find anything wrong with the forms, so tried the compile all option again, and then the convert, still problems with form conversion, tried third time and it converted.

Don't know what was different, but it worked so thanks for the help.

Best

Elton
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.