Question : Click a button from another button from a subform

I have a Form1 with a Button1in this form I inserted a sub form and make the source data Form2 that contains a Button2.
In Form 1 I have button that in the click event make Label5 visible in the same Parent Form. How can I click Button1 from Form2 Button2. I dont want to include all the code form Button1
I want to use the Button.Value = True from Form2 method. How can I accomplish this? I have included a sample small database.
I have tried every possible combination of this and can make it work.
http://www.mvps.org/access/forms/frm0031.htm

Answer : Click a button from another button from a subform

This should do it:

Call Me.Parent.Button1_Click

Random Solutions  
 
programming4us programming4us