I have a employee form. On the form I can select a status..New, Revise, Complete, Remove.
This form has several sub forms. Each sub-form is for different computing systes or servers. I track each employee’s access with this tool.
When "Revise" status is selected, each sub form shows a "Remove" check box. This check box only shows when the Status is set to Revise. If I check the checkbox and then try to change the status to Complete I get an error. When selecting Complete, code runs to make the "Remove" check boxes Not visible. The error I get is that I cannot make an object that "has focus" Not visible.
Makes sense. I have tried removing the focus from the check box to other objects that are not effected by the Not visible code. Does not work...the check box still has focus.
Finally...the Question. How can I, in code, remove the focus from the check box?
Thanks,
This form has several sub forms. Each sub-form is for different computing systes or servers. I track each employee’s access with this tool.
When "Revise" status is selected, each sub form shows a "Remove" check box. This check box only shows when the Status is set to Revise. If I check the checkbox and then try to change the status to Complete I get an error. When selecting Complete, code runs to make the "Remove" check boxes Not visible. The error I get is that I cannot make an object that "has focus" Not visible.
Makes sense. I have tried removing the focus from the check box to other objects that are not effected by the Not visible code. Does not work...the check box still has focus.
Finally...the Question. How can I, in code, remove the focus from the check box?
Thanks,