Discussion Locked

Access 95 Compile Errors

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
This is driving me crazy. I have an App on a 2000 workstation. The app works but when I want add a module to a form I get compile errors on modules that have nothing to do with the module that was just created. I have to not save the form so the app can go back to it's normal state.

7 replies

by legna_fg

delete the form and import from a backup database.
or make another form and save.

after rename forms saved whit name of the forms original.

by camcc591

I have had similar problems with Access 97 telling me that function Nz() is not recognized (it is a built in function). I got rid of the problem by compacting and repairing the database.

If that does not work, try opening a blank database and importing everything into it from the original database. Be sure to compact and repair before compiling, then compact again.

Third option, does your code ever exit a With statement without executing the associated End With? This sometimes happens when I am debugging code and stop for errors. It causes "unpredictable" results. I have managed to get rid of these problems by recopying the database as described above.

This discussion is closed to new replies.