A
Anne
I have a big forms with subforms, tabs...
The AfterUpdate event of some controls is (re)calculating a status,
and changing data (ticking boxes) in the main form and subforms. To
display the new status, the form & subforms are requeried. Which means
that I lost the focus on the selected control.
To avoid the problem, at the end of the AfterUpdate event, I set the
focus on the next control. That worked fine.
Then I don't know what I've done, but now on every .SetFocus, if fires
the error 2110
Any idea what could cause the .SetFocus method not to work anymore?!?
Thanks for your help, as always I am very grateful for the time you
spend answering my questions
Anne
The AfterUpdate event of some controls is (re)calculating a status,
and changing data (ticking boxes) in the main form and subforms. To
display the new status, the form & subforms are requeried. Which means
that I lost the focus on the selected control.
To avoid the problem, at the end of the AfterUpdate event, I set the
focus on the next control. That worked fine.
Then I don't know what I've done, but now on every .SetFocus, if fires
the error 2110
Any idea what could cause the .SetFocus method not to work anymore?!?
Thanks for your help, as always I am very grateful for the time you
spend answering my questions
Anne