Proper Form Close and Shutdown

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top