Proper Form Close and Shutdown

G

Guest

I developed my application on a very fast computer. I am concerned that when
I execute DoCmd.Quit on a form that it happens so fast it almost seems as if
Access quits first before the form closes. Should I put a timer on the event
to ensure that the form closes first and then access as an added precuation
against database corruption? I tried the following but it doesn't work.
Thanks.

DoCmd.Close
Me.TimerInterval = "10000"
DoCmd.Quit
 
R

Rick Brandt

MBoozer said:
I developed my application on a very fast computer. I am concerned
that when I execute DoCmd.Quit on a form that it happens so fast it
almost seems as if Access quits first before the form closes. Should
I put a timer on the event to ensure that the form closes first and
then access as an added precuation against database corruption? I
tried the following but it doesn't work. Thanks.

DoCmd.Close
Me.TimerInterval = "10000"
DoCmd.Quit

All of the "stuff" that needs to happen will happen before the close.

fugedabadit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top