R
Renraf
I have a form that performs a validation procedure on the event BeforeUpdate:
StpStrtDiff = IntSum + ActvtSum. If the values do not match, it asks the user
to correct their data. However, IntSum pulls a sum from a subform, causing
two problems:
1) If the user updates data in the subform but not in the parent form, the
validation will not run, even though the criteria may no longer be met.
2) If the validation fails, and the incorrect data is in the subform, the
user cannot navigate to the subform without retriggering the validation,
preventing them from being able to correct the data.
What event can I use that will fix this problem? Ideally, I don't want the
validation to be running until the user clicks to go to the next record in
the parent form or closes out of the form.
StpStrtDiff = IntSum + ActvtSum. If the values do not match, it asks the user
to correct their data. However, IntSum pulls a sum from a subform, causing
two problems:
1) If the user updates data in the subform but not in the parent form, the
validation will not run, even though the criteria may no longer be met.
2) If the validation fails, and the incorrect data is in the subform, the
user cannot navigate to the subform without retriggering the validation,
preventing them from being able to correct the data.
What event can I use that will fix this problem? Ideally, I don't want the
validation to be running until the user clicks to go to the next record in
the parent form or closes out of the form.