G
Guest
I have a main form with a combo box to select a year. In a subform I filter
using the year selected and disable and lock some fields in the past. If I
change the year in the mainform when the subform has focus, I sometimes get
the following error: "Run-Time error 2164": You can't disable a control while
it has the focus. Does not focus get set back to the mainform when I change
the combo box? How can I avoid this error?
using the year selected and disable and lock some fields in the past. If I
change the year in the mainform when the subform has focus, I sometimes get
the following error: "Run-Time error 2164": You can't disable a control while
it has the focus. Does not focus get set back to the mainform when I change
the combo box? How can I avoid this error?