Advertisement
Advertisement
| 07.23.2008 at 02:14AM PDT, ID: 23587777 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: |
Private Sub Form_BeforeUpdate(Cancel As Integer)
If MsgBox("Are you sure you want to save?", vbYesNo + vbInformation) = vbYes Then
DoCmd.Save acForm, "frmBPREdit"
MsgBox "Your changes have been saved! ", vbInformation
Check = 1
Else
Exit Sub
MsgBox "No changes have been recorded! ", vbInformation
DoCmd.Close acForm, "frmBPREdit", acSaveNo
End If
End Sub
|