J
Julia Boswell
I've got a problem with some code on a continuous form and I'd appreciate
some help with a solution, as I'm completely stuck!
On the last control of the continuous form (txtPN) there's an after update
event that runs some code and sets the value of a hidden field (me.chkNewPN)
to true or false for that record then sets the focus to the first control on
a new record (txtIDNo).
This works fine except when the user makes a mistake. If he goes back to the
previous record and updates txtPN meaning that the value of chkNewPN needs
to change, the change is applied to the latest record not the incorrect
record.
I hope this makes sense, as it's difficult to explain.
Any ideas on how to fix it?
Thanks
Julia
some help with a solution, as I'm completely stuck!
On the last control of the continuous form (txtPN) there's an after update
event that runs some code and sets the value of a hidden field (me.chkNewPN)
to true or false for that record then sets the focus to the first control on
a new record (txtIDNo).
This works fine except when the user makes a mistake. If he goes back to the
previous record and updates txtPN meaning that the value of chkNewPN needs
to change, the change is applied to the latest record not the incorrect
record.
I hope this makes sense, as it's difficult to explain.
Any ideas on how to fix it?
Thanks
Julia