Hello,
I'm reviewing some existing code and need help confirming what I see. The code I'm looking at is similar to the following:
if chk_01.checked = true then
chk_01.click() 'clear the checkbox and hide text area
end if
This does not seem to be working. I substituted the code with the following:
chk_01.checked = false
At the point that this code runs, I already have the controls bound to existing data and based on a condition, I want to force the check box to an unchecked state.
Any insight on whether the .click() is appropriate and some security settings are probably to blame or if this should never have worked would be very helpful.
Thanks
Julie
I'm reviewing some existing code and need help confirming what I see. The code I'm looking at is similar to the following:
if chk_01.checked = true then
chk_01.click() 'clear the checkbox and hide text area
end if
This does not seem to be working. I substituted the code with the following:
chk_01.checked = false
At the point that this code runs, I already have the controls bound to existing data and based on a condition, I want to force the check box to an unchecked state.
Any insight on whether the .click() is appropriate and some security settings are probably to blame or if this should never have worked would be very helpful.
Thanks
Julie