I have 5 forms so far in my database and am currently working on a data entry form. The first four forms all have exit buttons that close the form and open a main menu. For some reason on my fifth form the exit button brings up an error when it is clicked:
The expression On Click you entered as the event property setting produced the following error: Event procedure declaration does not match description of event having the same name.
All my exit buttons have different names and do have the same code of docmd.close. Why does the fifth exit button not work when it is clicked?
The expression On Click you entered as the event property setting produced the following error: Event procedure declaration does not match description of event having the same name.
All my exit buttons have different names and do have the same code of docmd.close. Why does the fifth exit button not work when it is clicked?