J
Jahanzaib
Hi
In the footer of a continuous subform, I have a text box named 'SumDebit',
with control sources=Sum(nz([DebitAmount],0)).
I then use a button on the main form to compare the another textbox value
on main form with subform's 'SumDebit'.
This works, but with one big problem. When I use the mouse to move out of
the subform and click on the mainform button, the last subform record is not
included in the sums.
I have tried requery and recalc.
These do update the subform totals in the subform footer, but AFTER my code
to compare values.
Please help
Thanks in advance!
JB
In the footer of a continuous subform, I have a text box named 'SumDebit',
with control sources=Sum(nz([DebitAmount],0)).
I then use a button on the main form to compare the another textbox value
on main form with subform's 'SumDebit'.
This works, but with one big problem. When I use the mouse to move out of
the subform and click on the mainform button, the last subform record is not
included in the sums.
I have tried requery and recalc.
These do update the subform totals in the subform footer, but AFTER my code
to compare values.
Please help
Thanks in advance!
JB