Button on pop-up-form to change values on main form

Pivooo

New member
Local time
Today, 04:30
Joined
Apr 19, 2004
Messages
5
Hello,

I'm a fairly new user of access and have a problem with some forms.

I have a main form with a button that opens a pop-up-form and makes some objects in the main form invisible. There is also a button on the pop-up-form witch closes the pop-up-form, but i can't get this button to make the objects in the main form visible again. (First focus/ activate main form???)

Does anybody know how this can be done?


Thx Pivooo
 
In the OnClick event of the button...
Code:
Forms!YourMainForm!YourControl.Visible = True
HTH
 
Thanks, it works.

I had something like that but I didn't know I had to put "Forms!" in front of it..... :o

Bye
 

Users who are viewing this thread

Back
Top Bottom