M
Maury Markowitz
I have a form with a field in it that is attached to an even handler. When
the user changes the number, the AfterUpdate handler fires, and updates a
_different_ table based on the numbers you just typed in. As a final step, it
runs an query on that table, calculates some results, and puts those results
into fields on the form -- it does this by using SetValue.
So why is it when I type anything, or use me.form=dirty, I get a Write
Conflict? Is there something else I have to do after putting the value in the
field to prevent this from happening?
As explored in another thread, I used to update the underlying table and
then call me.refresh. This avoids the Write Conflict, but also resets the
focus (although everyone says it's not supposed to, it does).
Maury
the user changes the number, the AfterUpdate handler fires, and updates a
_different_ table based on the numbers you just typed in. As a final step, it
runs an query on that table, calculates some results, and puts those results
into fields on the form -- it does this by using SetValue.
So why is it when I type anything, or use me.form=dirty, I get a Write
Conflict? Is there something else I have to do after putting the value in the
field to prevent this from happening?
As explored in another thread, I used to update the underlying table and
then call me.refresh. This avoids the Write Conflict, but also resets the
focus (although everyone says it's not supposed to, it does).
Maury