
Doing Error Checking before moving to next record
I want to perform my own error checking on the entered information
before the user is able to move on to the next record. The only place I
can see to put this error checking is in the forms BeforeUpdate event.
This way, I will be able to check what was entered and if necessary
cancel the Next record operation. However, I only want to perform this
error checking when I move to a different record. I have found that the
BeforeUpdate event not only runs when I go to a new record, but also
when I close the form (which isn't the biggest problem) and when I try
to access a subform. The running of BeforeUpdate before accessing the
subform really causes problems, sincethe subform is still part of the
overall information of the current record. How can I avoid the error
checking when the user clicks on the subform, and just do it when the
user changes records? Appreciate any help that you can give me.
Chad Waldman