That other user that changed things is your code!!
ms-access has no way of knowing that the data was changed by another user,
another program accessing the data, or your code!!
So, the problem is that you have a form that is attached to the data, and
editing has started. You then run some code, and instead of modify the data
in the form, you go and modify the data in the table. At this point, when
the form tries to save data, it checks the table, and realizes that someone
else (or code, or program etc) as changed the data.
[color=blue]
>
> I've seen many messages on this forum about this error, but nothing
> that seems to resolve it. Has anyone had this or know how to fix it??
> Thanks.[/color]
The above is a clear, and obvious explain of the problem.
The best solution is to FORCE the forms data to disk BEFORE you run code
that modifies that actual table data (or, change your code to modify the
forms data..and not directly to the table).
So, just go:
me.refresh ' force disk write.
your code that modifies the table goes here:
.....you re done!
Try the above, and post back here if it worked.
Maybe the next person will find this solution to this common problem and see
your answer!!
Good luck...
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com http://www.members.shaw.ca/AlbertKallal