I have a form with a crosstab query as its source. The query and the form's data is un-editable.
I want to run a function when I click on a check box on this form. But clicking the checkbox doesn't fire the event. I added a stop, a msgbox and a break point to the first line of the code, but nothing happens. Apparently the on click event is not triggering the function.
If I add the same function to on Double Click event everything is fine. The function is triggered and does what it's expected to do.
How can I run a function by on Click event of a checkbox on a form with un-editable record source?
No need to say how I appreciate any kind of advice.
Edit : I had to strip off a lot of controls and the code behind them. So the form may seem a little strange. It's just for the sake of testing.
I want to run a function when I click on a check box on this form. But clicking the checkbox doesn't fire the event. I added a stop, a msgbox and a break point to the first line of the code, but nothing happens. Apparently the on click event is not triggering the function.
If I add the same function to on Double Click event everything is fine. The function is triggered and does what it's expected to do.
How can I run a function by on Click event of a checkbox on a form with un-editable record source?
No need to say how I appreciate any kind of advice.
Edit : I had to strip off a lot of controls and the code behind them. So the form may seem a little strange. It's just for the sake of testing.
Attachments
Last edited: