I don't know what I did, but a form that was working perfectly earlier no longer works. When I click on a field it doesn't execute the code for that field_click. Any suggestions?
I don't know what I did, but a form that was working perfectly earlier no longer works. When I click on a field it doesn't execute the code for that field_click. Any suggestions?
What is the Code?
You can PM me if you need further help.
Good Reading https://docs.microsoft.com/en-gb/off...on-description
Did you change the name of the control? They are called controls not fields. They are populated by fields or expressions.
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
The control name has not changed and I put a breakpoint at the beginning of the code for the control_click. But it never gets there when I click on the control.
Upload the dB then. As much is needed to see the problem.
Please use # icon on toolbar when posting code snippets.
Cross Posting: https://www.excelguru.ca/content.php?184
Debugging Access: https://www.youtube.com/results?sear...bug+access+vba
Is the control enabled?
I fixed it. I renamed the control on the form and renamed the code section and it worked just fine. I then renamed the control back to the original name and changed the code to match and voila, it now works with the original name.