DoCmd.Quit vs. Application.Quit

M

MikeC

Can anyone tell me whether there is a functional difference between:

DoCmd.Quit

and

Application.Quit

The online help for "Quit Method" recommends use of the Application object
over the DoCmd object when using this method. The help also states that 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, but
offers no further explanation.

I really don't have a preference for one over the other, but I would like to
know whether there are any subtle differences in behavior.
 
A

Allen Browne

Go to groups.google.com, and run the advanced search on groups:
comp.databases.ms-access, microsoft.public.access.*

I think you will find references to problems with Application.Quit in some
versions, whereas DoCmd.Quit did not have the same issues.
 
M

MikeC

Thanks. That helps.

Allen Browne said:
Go to groups.google.com, and run the advanced search on groups:
comp.databases.ms-access, microsoft.public.access.*

I think you will find references to problems with Application.Quit in some
versions, whereas DoCmd.Quit did not have the same issues.
 

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