"You cant hide a control that has Focus"

simonI

Registered User.
Local time
Today, 04:13
Joined
Dec 22, 2005
Messages
25
HELP.....

i am trying to set up the intial format of my form which runs on the Onopen event.

i am trying to hide all my checkboxes until confirmation is made.. this works fine on all but my first checkbox with the run time error "You cant hide a control that has Focus" appearing..

is there a way i can make this checkbox not the focus so i can hide it ..... i am a beginner and have no real idea

cheers once again

si
 
You can set focus to somewhere else first before Hiding the boxes.
Me.Mycontol.setfocus

If you are hidding everything on the form then do it in design view and just reveal stuff when you need it.

HTH

Peter
 
Thanks very much - i knew it would be something stupid but like i said i am a beginner and this stuff can get really confusing!!

thanks again
 

Users who are viewing this thread

Back
Top Bottom