Setting properties on an open form from another open form

illy2k

Registered User.
Local time
Today, 18:59
Joined
Apr 21, 2003
Messages
51
Ok, I have two open forms. How would I go about setting the visible property on one form from inside the other?
 
I believe that the code

Forms!f2.Visible = false

will work. You add it in an event of the form f1 (i.e. the click event of a button) to make the form f2 invisible.
Hope it helps!
 

Users who are viewing this thread

Back
Top Bottom