Hi
I run a bit of VB on the click of a command on my main form, the last instruction is:
Me![frmLoadOLE].SetFocus
Me![frmLoadOLE].Form![cmdLoadOLE].SetFocus
This is to set the focus on a command button on a sub form.
The commands on focus then runs more VB. It is a bit messy but all the actions I require are carried out. The only single problem is that i recieve a run time error 2110 saying access cant move the focus to the control cmdLoadOLE, but it actually does. Is there anyway I can suppress this error message?
Thanks
I run a bit of VB on the click of a command on my main form, the last instruction is:
Me![frmLoadOLE].SetFocus
Me![frmLoadOLE].Form![cmdLoadOLE].SetFocus
This is to set the focus on a command button on a sub form.
The commands on focus then runs more VB. It is a bit messy but all the actions I require are carried out. The only single problem is that i recieve a run time error 2110 saying access cant move the focus to the control cmdLoadOLE, but it actually does. Is there anyway I can suppress this error message?
Thanks