G
Guest
Hi,
I have a form with an embedded subform. The form is an invoice header with
the invoice number and other related information including cost. The subform
allows entries that belong to the invoice, but the belong in separate
accounts.
My problem is this: I need to validate that the sum of the lines entered in
the subform equal the total invoice cost. I'm using Access2k so there is no
record exit event. I can't use BeforeUpdate since this fires before the entry
of any subform lines. The closest I came was Cancelling the subform exit if
the total doesn't match. The problem with that is the subforms record isn't
updated or inserted to allow checking the final sum since the record is not
final. Is there anyway around this problem.
I have a form with an embedded subform. The form is an invoice header with
the invoice number and other related information including cost. The subform
allows entries that belong to the invoice, but the belong in separate
accounts.
My problem is this: I need to validate that the sum of the lines entered in
the subform equal the total invoice cost. I'm using Access2k so there is no
record exit event. I can't use BeforeUpdate since this fires before the entry
of any subform lines. The closest I came was Cancelling the subform exit if
the total doesn't match. The problem with that is the subforms record isn't
updated or inserted to allow checking the final sum since the record is not
final. Is there anyway around this problem.