View Single Post
  #35  
Old January 12th, 2009, 02:06 PM posted to microsoft.public.access,microsoft.public.access.forms
Andy[_11_]
external usenet poster
 
Posts: 48
Default A2K Runtime Crashes on DoCmd.Quit

Roy;

Thank You for Your reply.

Will change code to "the existing Quit method of the Application object
instead.".

The app is running. Never found out why it didn't.

4 to 5 Install, Un-Install, Installs worked.

As the old folks used to say "No Rhyme Nor Reason".

Thank You again.

Andy


"RoyVidar" wrote in message
...
Andy wrote:

DoCmd.Quit is not limited to Access 2000. Its still used today.


But, the help file, at least dating back to the 2000 version (probably
earlier), says

"Remarks

The Quit method of the DoCmd object was added to provide backward
compatibility for running the Quit action in Visual Basic code in
Microsoft Access 95. It's recommended that you use the existing Quit
method of the Application object instead."

http://msdn.microsoft.com/en-us/libr...ffice.11).aspx

So

Application.Quit over DoCmd.Quit. Don't know how that equates into
this discussion, though.

--
Roy-Vidar