On long tasks I want a progress meter that shows the user how much longer it's going to take. Each one is basically this format:
Do Until rstRecordset.EOF
[ProgressLabel].Caption = Int(rstRecordset.PercentPosition) & "%"
DoEvents
....
Loop
Works good in displaying a progress meter on the form, but is there a different way I can make this work without the DoEvents command? Because with that command in there, the user could perform other tasks like click other buttons on the form and possibly screwing up the running task or pull up incomplete information.
Can I instead of DoEvents, run the specific event that will refresh the label on the form? Is there an alternate way to run a progress meter?
FYI, I'm running Access 97 if that means anything.
Do Until rstRecordset.EOF
[ProgressLabel].Caption = Int(rstRecordset.PercentPosition) & "%"
DoEvents
....
Loop
Works good in displaying a progress meter on the form, but is there a different way I can make this work without the DoEvents command? Because with that command in there, the user could perform other tasks like click other buttons on the form and possibly screwing up the running task or pull up incomplete information.
Can I instead of DoEvents, run the specific event that will refresh the label on the form? Is there an alternate way to run a progress meter?
FYI, I'm running Access 97 if that means anything.