Write Conflict

S

Salim

Hi there,

I am using an update query (DoCmd.RunSQL) to update the value of a
field of the record that is being displayed on the form from which the
sub is called.

When I then refresh the form (Me.Refresh), I get a write conflict error
message: "This record has changed by another user since you started
editing it. If you save the record, you will overwrite the changes the
other user made."

Please note that I am refreshing the form just before running the
update query.

Cheers,

-Salim
 
B

Baz

Salim said:
Hi there,

I am using an update query (DoCmd.RunSQL) to update the value of a
field of the record that is being displayed on the form from which the
sub is called.

When I then refresh the form (Me.Refresh), I get a write conflict error
message: "This record has changed by another user since you started
editing it. If you save the record, you will overwrite the changes the
other user made."

Please note that I am refreshing the form just before running the
update query.

Cheers,

-Salim

Why not just change the field's value right there in the form instead of
sneaking behind the form's back with an update query?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Linked ODBC Table 3
Suppress the Write Conflict Dialog Box 4
Write/edit conflict 2
Write conflict in Access 2000 1
Write Conflict 8
Can I Suppress Write Conflict Message? 4
write conflict 2
write conflict error 7

Top