P
(PeteCresswell)
I've got a pick list form: Parent form with two subforms.
Both subforms look into the same work table.
The left subform lists rows where a field named IsSelected=True
and the right subform lists rows where IsSelectdd=False.
When the user doubleclicks a row on either subform, I move it to the other
subform by setting !IsSelected=Not !IsSelected and requerying both subforms.
Two of the fields on the rows are dates and the user is allowed to edit them.
Every so often Access pops a "Write Conflict: This record has been changed by
another user since you started editing it." when the user changes a date field
in one of the rows.
It does not seem to be a trappable error because my VBA code isn't catching it
and every routine has an On Error Go To.... in effect.
I made up a mini-application with just that form/subforms plus supporting code,
but I have been unable to provoke the error reproducibly - either in the
original app or the mini-app. It just "happens" every so often.
Anybody been here?
Both subforms look into the same work table.
The left subform lists rows where a field named IsSelected=True
and the right subform lists rows where IsSelectdd=False.
When the user doubleclicks a row on either subform, I move it to the other
subform by setting !IsSelected=Not !IsSelected and requerying both subforms.
Two of the fields on the rows are dates and the user is allowed to edit them.
Every so often Access pops a "Write Conflict: This record has been changed by
another user since you started editing it." when the user changes a date field
in one of the rows.
It does not seem to be a trappable error because my VBA code isn't catching it
and every routine has an On Error Go To.... in effect.
I made up a mini-application with just that form/subforms plus supporting code,
but I have been unable to provoke the error reproducibly - either in the
original app or the mini-app. It just "happens" every so often.
Anybody been here?