Adarsh Madrecha
Adarsh Madrecha

Reputation: 7896

Nothing happens when button is clicked in MS Access

I am working on my MS Access project, and suddenly all the buttons (on Click event) stopped working on all forms (about 11 forms)

I tried following, but no success.

  1. Commented the code I was working on when this happened.
  2. Deleted the code
  3. Added new button with just a msg box in it.
  4. Created a new form and added a new button (Nothing happens)

I have been working on MS Access for a year now, bit never faced any issue like this.

Any help in any form is appreciated. Thanks in advance.

Upvotes: 2

Views: 4988

Answers (1)

Adarsh Madrecha
Adarsh Madrecha

Reputation: 7896

Thanks to @Bas Verlaat Tried manually compiling the code, and volla!!!! found that there was one sub which was copied erroneously twice in a form, and hence all the loss of functionality.

Thanks for help everyone. Stack Overflow is the best :)

Lessons learned : If there is some problem in one form, the entire project can suffer.

Upvotes: 1

Related Questions