G
Guest
Hi,
I have a form in continuous mode. I have created an unbound text box in my
form and placed it in the footer of the form. In the control source property
of the unbound textbox has an expression created in the expression builder to
sum a field in my form. Lets call the field to sum: "Amount".
So whenever I plug in a number in the "Amount" field the contents of this
field in every record are summed and stored in the unbound textbox. The
problem is that it does this x seconds after. Furthermore, I need to copy the
summed value in the unbound textbox to a bound field of this form so I can
display it in my report.(I DO THIS BECAUSE SOMEHOW I CAN'T PRINT UNBOUND
FIELDS IN A REPORT).
So if the user enters a value in the Amount field and quickly prints a
report based on this form, there usually is a good chance that the unbound
textbox hasn't finished calculating the sum of the "Amount" fields in every
record. This results in false summations.
Is there a way of knowing when Access has finished processing the summing
task!
I thought of putting a timming delay code in the print button proceedure.
But there must be a better way!
Anyone Please.
I have a form in continuous mode. I have created an unbound text box in my
form and placed it in the footer of the form. In the control source property
of the unbound textbox has an expression created in the expression builder to
sum a field in my form. Lets call the field to sum: "Amount".
So whenever I plug in a number in the "Amount" field the contents of this
field in every record are summed and stored in the unbound textbox. The
problem is that it does this x seconds after. Furthermore, I need to copy the
summed value in the unbound textbox to a bound field of this form so I can
display it in my report.(I DO THIS BECAUSE SOMEHOW I CAN'T PRINT UNBOUND
FIELDS IN A REPORT).
So if the user enters a value in the Amount field and quickly prints a
report based on this form, there usually is a good chance that the unbound
textbox hasn't finished calculating the sum of the "Amount" fields in every
record. This results in false summations.
Is there a way of knowing when Access has finished processing the summing
task!
I thought of putting a timming delay code in the print button proceedure.
But there must be a better way!
Anyone Please.