R
rwfreeman
Access 2003. I'm using the OnClick event of a subform to change the
value of a checkbox. The ControlSource for the subform is an SQL
statement on an existing table. The database has no communication
with a network.
The first click on a record in the subform changes the checkbox as
desired. However, any subsequent click on the subform or any control
on the parent form produces a "Write Conflict" warning in a dialog box
that states "This record has been changed by another user since you
started editing it. ... " There are three choices in the form of
buttons which have the following captions "Save Record", "Copy to
Clipboard", "Drop Changes". This warning occurs before any change is
made to the checkbox. If I click on the "Drop Changes" button, the
message clears and if I click on the subform's record again, the
checkbox is changed. I've tried surrounding the contents of the
OnClick event with "DoCmd.SetWarnings False" and "DoCmd.SetWarnings
True" but the Write Conflict message still appears. There is no
"another user" on the database, so I'm at a loss as to why this is
occurring. Help would be appreciated.
Richard Freeman
value of a checkbox. The ControlSource for the subform is an SQL
statement on an existing table. The database has no communication
with a network.
The first click on a record in the subform changes the checkbox as
desired. However, any subsequent click on the subform or any control
on the parent form produces a "Write Conflict" warning in a dialog box
that states "This record has been changed by another user since you
started editing it. ... " There are three choices in the form of
buttons which have the following captions "Save Record", "Copy to
Clipboard", "Drop Changes". This warning occurs before any change is
made to the checkbox. If I click on the "Drop Changes" button, the
message clears and if I click on the subform's record again, the
checkbox is changed. I've tried surrounding the contents of the
OnClick event with "DoCmd.SetWarnings False" and "DoCmd.SetWarnings
True" but the Write Conflict message still appears. There is no
"another user" on the database, so I'm at a loss as to why this is
occurring. Help would be appreciated.
Richard Freeman