M
Michaelcip
Hello, I’d like to add code into my form’s “save record†button that asks the
user the question as to whether or not they intended to flag the “In
Warranty†or “Out of Warranty†combo box (that links to a yes/no field). The
current code on the “Save Record†button is:
___________________________________________
Private Sub cmdSaveRecord_Click()
On Error GoTo Err_cmdSaveRecord_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_cmdSaveRecord_Click:
Exit Sub
Err_cmdSaveRecord_Click:
MsgBox Err.Description
Resume Exit_cmdSaveRecord_Click
End Sub
_______________________________________________
What code goes where? Many thanks, Michael
user the question as to whether or not they intended to flag the “In
Warranty†or “Out of Warranty†combo box (that links to a yes/no field). The
current code on the “Save Record†button is:
___________________________________________
Private Sub cmdSaveRecord_Click()
On Error GoTo Err_cmdSaveRecord_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Exit_cmdSaveRecord_Click:
Exit Sub
Err_cmdSaveRecord_Click:
MsgBox Err.Description
Resume Exit_cmdSaveRecord_Click
End Sub
_______________________________________________
What code goes where? Many thanks, Michael