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 / Multiuser / Networking / September 2003

Tip: Looking for answers? Try searching our database.

Detecting user IdleTime then check value in table..stuck?!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Franky G - 18 Sep 2003 13:38 GMT
Hi,

My DB is split into front and back end, most of the tables are linked
to Oracle database. At the moment, I'm using a hidden form to detect
idletime and close the database after x minutes of idletime - see
http://support.microsoft.com/default.aspx?scid=KB;en-us;128814

I would rather have a table (say, 'tblMaintMode')which indicates that
Access is in 'maintenance mode' or normal mode, simply by using yes/no
or 0/1 value. Then the idletime form would check the value in this
table and shut Access only when it is in Maintenance mode. I'm not
sure how to have Access read this table and respond accordingly.
Here's what runs when idletime is detected;

Sub IdleTimeDetected(ExpiredMinutes)
DoCmd.OpenForm "frmAccessShutdown", acNormal
End Sub

What I'd like to do once Idletime has been detected is;
Check the value in the tblMaintMode, if equals 'yes' then continue
with shutdown, else reset idletime timer.

Any suggestions most welcome, I'm just testing code just now...

Thanks,

FrankyG

ps I Assume I could use the same principle on Startup, check the value
in tblMaintMode, if 'yes' then display message to user and shutdown,
else do nothing? would that work?
Larry  Linson - 20 Sep 2003 02:16 GMT
There's an article at http://accdevel.tripod.com that deals with keeping
system values in Access databases. I've done something similar in an Access
client application in a client-server environment, and it worked nicely.

 Larry Linson
 Microsoft Access MVP

> Hi,
>
[quoted text clipped - 27 lines]
> in tblMaintMode, if 'yes' then display message to user and shutdown,
> else do nothing? would that work?
 
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.