The question I'd like to ask here is actually very simple. So I'll put the question first and just in case the full context is underneath it. Thanks!
THE QUESTION:
I want to set a checkbox value from the OnSelect of a button. I thought I could do it by entering the following to the OnSelect formula of the button:
cbx_AssignedToMe.Value = false
Entering this formula does not result in any error. But, alas, life is not this simple and when I press the button nothing happens.
I've searched around and this question always seems to get answered by explaining about the default value. But I don't think that applies to my scenario. I want to clear the checkbox programatically. How can I do it?
THE CONTEXT:
I have built a filter screen with a bunch of different data filters that can be set. On this screen are two checkboxes which act as simple helpers to set up two of the filters to the current user. In the grab below, you can see that because I set the "Assigned to me" checkbox, the associated Assigned to: textbox got disabled and the user was automatically assigned to me.
At the bottom of the screen I have a clear filters button which has the job of resetting all the filters. As part of this, I want to clear the checkboxes back to false.
The filters themselves are easy to clear as I have them set up as variables and I can just use the Set(variable, value) method to do it. This does result in all my filters being cleared. But unfortunatley the checkboxes (if checked) stay checked and I need to clear them programatically.