find record button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i want to setfocus on a whole form

is this right before the find code do Me.[Frm Applications].Setfocus
 
You cannot set focus to a form if there are any controls on the form capable
of receiving the focus.
 
so basically what i want to do is set the focus of the find button onto the
main form not any of the subforms. I did activeform setfocus but it doesn't
always work and sometimes tells me to add a gotocontrol before the find.

The only problem is that i want it to look in the whole form because of 2
textboxes that the item searched for could be in - how can i do this?

thanks

Klatuu said:
You cannot set focus to a form if there are any controls on the form capable
of receiving the focus.

Database User said:
i want to setfocus on a whole form

is this right before the find code do Me.[Frm Applications].Setfocus
 
Back
Top