If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Close 1st form when open 2nd
In a form on button i open another form. I want to close the first
form. Same in 2nd form i want when user click on cancel it close the 2nd form and open the first form. How to i do that needs help. Thank You |
#2
|
|||
|
|||
Close 1st form when open 2nd
Anna wrote:
In a form on button i open another form. I want to close the first form. Same in 2nd form i want when user click on cancel it close the 2nd form and open the first form. How to i do that needs help. Thank You DoCmd.Close acForm, Me.Name DoCmd.OpenForm "SecondFormName" To go back... DoCmd.Close acForm, Me.Name DoCmd.OpenForm "FirstFormName" -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
Thread Tools | |
Display Modes | |
|
|