Hi,
I have the following code in my ComboBox On Not In List:
...
'Ge rid of the "Not In List"error message.
Response = acDataErrContinue
'Clear the ComboBax
SendKeys "{ESC}"
SendKeys "{ESC}"
SendKeys "{ESC}"
' Move focus to the Contact's title
Forms!mailfrm!Title.SetFocus
I get a run time error message when I get to the SetFocus:
"MS Access can't move the focus to the Title focus"
SetFocus works fine anywhere else on the form.
Thanks for your help with this problem.
Cheers,
John
I have the following code in my ComboBox On Not In List:
...
'Ge rid of the "Not In List"error message.
Response = acDataErrContinue
'Clear the ComboBax
SendKeys "{ESC}"
SendKeys "{ESC}"
SendKeys "{ESC}"
' Move focus to the Contact's title
Forms!mailfrm!Title.SetFocus
I get a run time error message when I get to the SetFocus:
"MS Access can't move the focus to the Title focus"
SetFocus works fine anywhere else on the form.
Thanks for your help with this problem.
Cheers,
John