Close a FORM from a different FORM

C

Chip

Hi Again from Oklahoma!!

I am new to ACCESS and VB but i am needing to press a button on FORM1 to
Close FORM2. I just do know where to start with this one. I know it is
very simple but i cannot figure it out.

As always, THANKS IN ADVANCE!! (I never know if my thank-you's ever reach
the person after the fact...)
 
J

jl5000

In the on click event of your button in FORM1 add this code:

docmd.Close acForm, "FORM2"
 
Top