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 / July 2005

Tip: Looking for answers? Try searching our database.

Close files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luis - 28 Jul 2005 09:39 GMT
Hello. I have several databases that update files on a daily basis. The
problem is that some users don't close the files when they get out of office
and the update process fails.
How can i programmatically check if the file to be updated is open and if
it's true close or kill te session?

Thanks.

Luis
Alex Dybenko - 28 Jul 2005 20:28 GMT
Hi,
first of all look here:
http://www.mvps.org/access/general/gen0034.htm

to force logoff you can use a hidden form's timer event, where you check for
a flag in some table, once it true - you give a message to user and quit
application

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Hello. I have several databases that update files on a daily basis. The
> problem is that some users don't close the files when they get out of
[quoted text clipped - 6 lines]
>
> Luis
 
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.