R
Richardson
I have run across a very strange situation, and I hope someone has a
suggestion.
I have a form that is an invoice. The details of the invoice are in a
subform. I have macros/code that run after each entry in the subform to
update the total line in the main form. These are working great. I have
navigation buttons in the main form that allow the user to move to new
invoices, etc. These also include code to check for errors, validate
entries, and some other stuff.
The database is running in Access runtime (2002 file format) on a machine
that is exceptionally slow.
The problem is that the machine is so slow that users can enter a line in
the subform, the system begins recalculating the total, and before it
finishes running that recalculation macro, the user is able to click on the
navigation buttons at the bottom.
As soon as they trigger the code in the navigation button, the program shuts
down due to errors since the recalculation is still running. I have tested
this extensively, and I only have the problem on this slow machine.
Is there anything I can add to the navigation button code/macro to keep it
from running until all other macros/code on the form finish?
Thanks,
Lori
suggestion.
I have a form that is an invoice. The details of the invoice are in a
subform. I have macros/code that run after each entry in the subform to
update the total line in the main form. These are working great. I have
navigation buttons in the main form that allow the user to move to new
invoices, etc. These also include code to check for errors, validate
entries, and some other stuff.
The database is running in Access runtime (2002 file format) on a machine
that is exceptionally slow.
The problem is that the machine is so slow that users can enter a line in
the subform, the system begins recalculating the total, and before it
finishes running that recalculation macro, the user is able to click on the
navigation buttons at the bottom.
As soon as they trigger the code in the navigation button, the program shuts
down due to errors since the recalculation is still running. I have tested
this extensively, and I only have the problem on this slow machine.
Is there anything I can add to the navigation button code/macro to keep it
from running until all other macros/code on the form finish?
Thanks,
Lori