P
PeteCresswell
Got a form with a subform based on a work table in C:\Temp.
The subform shows a list of dates and a computed amount for each date.
The amounts were computed into a field in the work table when the form
was loaded.
User changes a date.
In txtDate_AfterUpdate, I then open up a recordset into that work
table and re-compute the amount for each and every date.
Problem is, that somewhere along the line my code is provoking:
--------------------------------------------------------------------------------
Write Conflict: Record changed by another user since you
started editing.... If you save, you will overwrite....."
--------------------------------------------------------------------------------
One of the options in that dialog is "Drop Changes".
Clicking "Drop Changes" gives me the desired result: the new amount
for that date that I computed in VBA is now shown on the subform.
OTOH clicking "Save Changes" causes my re-computed amount tb lost.
I tried setting the subform's .Dirty=False, but no luck.
Anybody care to comment?
The subform shows a list of dates and a computed amount for each date.
The amounts were computed into a field in the work table when the form
was loaded.
User changes a date.
In txtDate_AfterUpdate, I then open up a recordset into that work
table and re-compute the amount for each and every date.
Problem is, that somewhere along the line my code is provoking:
--------------------------------------------------------------------------------
Write Conflict: Record changed by another user since you
started editing.... If you save, you will overwrite....."
--------------------------------------------------------------------------------
One of the options in that dialog is "Drop Changes".
Clicking "Drop Changes" gives me the desired result: the new amount
for that date that I computed in VBA is now shown on the subform.
OTOH clicking "Save Changes" causes my re-computed amount tb lost.
I tried setting the subform's .Dirty=False, but no luck.
Anybody care to comment?