Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / June 2005

Tip: Looking for answers? Try searching our database.

unable to quit microsoft access without MsgBox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rogdev - 30 Jun 2005 10:06 GMT
I have developed a module in MS access 97, which is called from a form.
Everything seems to work fine, but when I close the database, I am not able
to quit Access. Access is minimized, but the database is closed.

If I add a MsgBox instruction in the module, everything works ok. Without
the MSgBox instruction, I have the above described problem.

ps all recordsets are closed via the Close method
Brian - 30 Jun 2005 17:03 GMT
DoCmd.Close just closes the current form. DoCmd.Quit will close Access. You
could make a button on your form and make DoCmd.Quit the last line on its
Click event.

> I have developed a module in MS access 97, which is called from a form.
> Everything seems to work fine, but when I close the database, I am not able
[quoted text clipped - 4 lines]
>
> ps all recordsets are closed via the Close method
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.