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 / March 2008

Tip: Looking for answers? Try searching our database.

Closeing Access 97

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MarkS - 06 Mar 2008 00:24 GMT
Hi,
I use a macro to update a table with data from several sources. after runing
it I can close the data base but I can't close access itself.

any sugestions

MarkS
Marshall Barton - 06 Mar 2008 01:16 GMT
>I use a macro to update a table with data from several sources. after runing
>it I can close the data base but I can't close access itself.

That usually happens because an object variable was not
closed/cleared.  Check to make sure that you close what you
open and set every object variable to Nothing when you are
done using it.

There was also a bug in code like:
    If checkbox Then
that would leave the checkbox object hanging around.  This
had several simple workarounds:
    If checkbox.Value Then
or
    If checkbox = True Then
or
    If (checkbox) Then

Signature

Marsh
MVP [MS Access]

 
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.