Loss of code in button(s) - Access 2.0

B

bellecest

I did a repair on my .mdb and the code within my button was deleted. I also
lost code within other buttons, the same .mdb when transferring my file from
the hard drive (c:\) to a server drive. Why does this happen?

I was also having problems with the code working correctly; I would get
error messages stating that I was in design mode when I was not. I recreated
the code in another .mdb and it worked fine. I also recreated the code in
another form in the same .mdb and it was fine as well. Is there a corrupt
object on the form that could be causing this problem ? Thank you. BelleCest
 
A

Arvin Meyer [MVP]

There is undoubtedly a corrupt object on the form. You can try repairing
then compacting, and that may be enough. The safest way to handle this in
Access 2.0 is to build a new empty database and import everything except the
suspect form(s). Then recreate those forms.
 
Top