R
Robert T
I have a simple little Time & Attendance database which tracks my time and
attendance at work. That seems pretty logical, doesn't it?
1. All of the fields are default values that kick in when I click on the New
Rec button.
2. If there are no changes to the default values, I click on the Save Record
button.
Everything works well, however, I had to make a recent code change to ensure
the calculated week number field [in the table itself] was accurately
recorded. That in turn created a bizarre little problem. When I click on the
Save Record button, a dialog box pops up advising the DoMenu Action was
canceled. Despite that message, I click on the OK button and the record is
saved. Here's the code behind the Save Record button.
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Any suggestions?
Robert
attendance at work. That seems pretty logical, doesn't it?
1. All of the fields are default values that kick in when I click on the New
Rec button.
2. If there are no changes to the default values, I click on the Save Record
button.
Everything works well, however, I had to make a recent code change to ensure
the calculated week number field [in the table itself] was accurately
recorded. That in turn created a bizarre little problem. When I click on the
Save Record button, a dialog box pops up advising the DoMenu Action was
canceled. Despite that message, I click on the OK button and the record is
saved. Here's the code behind the Save Record button.
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Any suggestions?
Robert