M
Mike Storms
I have a form that has a command button that runs a SQL stored procedure. The
sp can take some time to complete, so I want to display an elapsed time
counter on the form while the sp runs. I'm using the OnTimer event and have
written all the code to count the elapsed time and display it in a control on
the form. The problem is, I can't get the form to update and show the elapsed
time until the sp has quit running--which totally defeats the purpose of
showing the elapsed time *while* the sp is running.
Is there a way to update/repaint the form while the sp is running?
Thanks,
Mike
sp can take some time to complete, so I want to display an elapsed time
counter on the form while the sp runs. I'm using the OnTimer event and have
written all the code to count the elapsed time and display it in a control on
the form. The problem is, I can't get the form to update and show the elapsed
time until the sp has quit running--which totally defeats the purpose of
showing the elapsed time *while* the sp is running.
Is there a way to update/repaint the form while the sp is running?
Thanks,
Mike