Set Focus

  • Thread starter Thread starter davemb
  • Start date Start date
D

davemb

Guest
Hi

I have got a main form (Main) and a sub form (Short_Course_Full_ Detail), the problem that i am having is that when i try to set the focus to the sub form the main form dissapears from the screen and the sub form seems to move to the top of the screen ???????.

The syntax i am using is as follows:

Me.Short_Course_Full_Detail.SetFocus

Would appreciate if anybody could advise me what i am doing wrong.

Many thanks

Davemb
 
subform focus

I have a subform named EmplErrorsSubform

and to shift the focus to it I just used:

EmplErrorsSubform.SetFocus
 

Users who are viewing this thread

Back
Top Bottom