I cant see any logical reason Im getting an error when, from a main form, I attempt to use SetFocus to activate a control on an unbound subform. I have even used the Timer event to delay the action to no avail. I have tried setting the focus first to the
subform control itself, then the control on the underlying form, and again, no luck.
Does anybody here know whats causing the failure?
Is the control enabled? Is it of a type that is capable of receiving the focus? What event are you doing this in?
And most importantly, what error are you getting?
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html