label in 2nd form visible

krberube

just beyond new
Local time
Today, 10:45
Joined
Jan 14, 2005
Messages
142
Good morning All,
I have 2 forms, FORM1 opens first. when a button is clicked FORM2 opens. When a button on FORM2 is clicked, FORM2 closes and the code runs. The focus then goes back to FORM1.

How can I make a label on FORM1 visible ( default is set to visible = no) when the button on FORM2 is clicked?

Thanks
Kevin
 
Can't you just use FORMS!FORM1!LabelName.Visible = true?
 
I had tried that but it didn't work. After reading your reply i went back and because the form name had spaces in it, i had to use:

Forms![form name]!LabelName.visible = true

Thanks
 

Users who are viewing this thread

Back
Top Bottom