R
Ray Hogan
Hi,
I have a Form (frmRegister) on which I have a Command Button to opem Form
(frmResort).
When I close frmResort with a Command Button, I want to to go to a specifi
field on frmRegister.
Please advise the code I need to to add to the following;
Private Sub cmdCloseForm_Click()
On Error GoTo Err_cmdCloseForm_Click
DoCmd.Close
Exit_cmdCloseForm_Click:
Exit Sub
Err_cmdCloseForm_Click:
MsgBox Err.Description
Resume Exit_cmdCloseForm_Click
End Sub
Thanking you in anticipation.
Regards.
Rayh.
I have a Form (frmRegister) on which I have a Command Button to opem Form
(frmResort).
When I close frmResort with a Command Button, I want to to go to a specifi
field on frmRegister.
Please advise the code I need to to add to the following;
Private Sub cmdCloseForm_Click()
On Error GoTo Err_cmdCloseForm_Click
DoCmd.Close
Exit_cmdCloseForm_Click:
Exit Sub
Err_cmdCloseForm_Click:
MsgBox Err.Description
Resume Exit_cmdCloseForm_Click
End Sub
Thanking you in anticipation.
Regards.
Rayh.