G
Guest
How do I add another line to close the Contacts form upon clicking the Gifts command button
Private Sub Gift_Details_Click(
On Error GoTo Err_Gift_Details_Clic
If IsNull(Me![ContactID]) The
MsgBox "Enter contact information before entering a gift.
Els
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer7
DoCmd.OpenForm "Gifts
End I
Exit_Gift_Details_Click
Exit Su
Err_Gift_Details_Click
MsgBox Err.Descriptio
Resume Exit_Gift_Details_Clic
End Sub
Private Sub Gift_Details_Click(
On Error GoTo Err_Gift_Details_Clic
If IsNull(Me![ContactID]) The
MsgBox "Enter contact information before entering a gift.
Els
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer7
DoCmd.OpenForm "Gifts
End I
Exit_Gift_Details_Click
Exit Su
Err_Gift_Details_Click
MsgBox Err.Descriptio
Resume Exit_Gift_Details_Clic
End Sub