G
Guest
Hi.
I've posted the following question a couple of days ago and i received the
reply i'm sending. The problem is that i'm not sure i understand how can i do
this. The form's recordsource is an SQL command that is executed in the On
Open event. How can i set the field values in the Before Update event? The
form is a continuous form and can retreive an undetermined number of records.
It appears that your update is updating the same table/record that the form
is bound to. Why? The usual thing to do would be to set the appropriate
field values in the BeforeUpdate event, and leave it up to the form to
perform the update.
I've posted the following question a couple of days ago and i received the
reply i'm sending. The problem is that i'm not sure i understand how can i do
this. The form's recordsource is an SQL command that is executed in the On
Open event. How can i set the field values in the Before Update event? The
form is a continuous form and can retreive an undetermined number of records.
Hello.
I have a form in which i have a text box with an after update event. This
after update event executes an Update table SQL command. The problem is that
after this event occurs i get an Write Conflict message. I then click on Save
changes button and the error disappears.
I already put the Docmd.setwarnings FALSE command, but the message still
triggers.
How can i prevent this ?
Thanks in advance
Luis
It appears that your update is updating the same table/record that the form
is bound to. Why? The usual thing to do would be to set the appropriate
field values in the BeforeUpdate event, and leave it up to the form to
perform the update.