E
EarlCPhillips
I have a form producing a datasheet-view of multiple rows showing "today's
schedule." I have written SQL code to update selected fields within a row
(such as how many people showed up and the times they arrived and departed),
and associated data that is not displayed (such as total hours worked), as
the user changes the values. I also allow the user to change more than one
row.
When the user tries to change the second or another row, the Write Conflict
dialog box appears telling the user that "this record has been changed by
another user since you started..." I wish to suppress that dialog box since
each update to a field that the VBA code changes contains range checks and
other edits and the code often updates other related-but-non-displayed
fields. I do not want the user to have the choice to do anything but accept
what the VBA code changes. I do not want them to choose "Save Record" as
that wipes out the changes I have made to related fields.
Is there a way to suppress the "Write Conflict" dialog box? If not, what
Event will allow me to display an instruction message before the "Write
Conflict" dialog box is displayed?
schedule." I have written SQL code to update selected fields within a row
(such as how many people showed up and the times they arrived and departed),
and associated data that is not displayed (such as total hours worked), as
the user changes the values. I also allow the user to change more than one
row.
When the user tries to change the second or another row, the Write Conflict
dialog box appears telling the user that "this record has been changed by
another user since you started..." I wish to suppress that dialog box since
each update to a field that the VBA code changes contains range checks and
other edits and the code often updates other related-but-non-displayed
fields. I do not want the user to have the choice to do anything but accept
what the VBA code changes. I do not want them to choose "Save Record" as
that wipes out the changes I have made to related fields.
Is there a way to suppress the "Write Conflict" dialog box? If not, what
Event will allow me to display an instruction message before the "Write
Conflict" dialog box is displayed?