473,385 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Autoclose a database (or access) after a certain amount of time

Is there anyway to make a database close after it has been open and
idle for a specified time? I have to do updates once in a while on a
company database, and a few people have a habit of leaving it open all
the time (and breaking that habit isn't working too well).

Generally it is left open to the switchboard, not on an open, mid-edit
form or report. So losing saved information isn't a concern in most
cases.

Possibilities?

-Rick

Feb 6 '07 #1
2 2702
Hi,
Is there anyway to make a database close after it has been open and
idle for a specified time? I have to do updates once in a while on a
company database, and a few people have a habit of leaving it open all
the time (and breaking that habit isn't working too well).

Generally it is left open to the switchboard, not on an open, mid-edit
form or report. So losing saved information isn't a concern in most
cases.

Possibilities?
There's a sample ( Detect and Logoff Idle Users ) on :

http://www.candace-tripp.com/pages/a...downloads.aspx

Regards
Jens


Feb 6 '07 #2
That site is awesome. Thanks. Can't believe that hasn't come up in
my previous searches.

On Feb 6, 12:48 pm, "Jens Schilling"
<JensSchillingBitteLoesc...@fissership.dewrote:
Hi,
Is there anyway to make a database close after it has been open and
idle for a specified time? I have to do updates once in a while on a
company database, and a few people have a habit of leaving it open all
the time (and breaking that habit isn't working too well).
Generally it is left open to the switchboard, not on an open, mid-edit
form or report. So losing saved information isn't a concern in most
cases.
Possibilities?

There's a sample ( Detect and Logoff Idle Users ) on :

http://www.candace-tripp.com/pages/a...downloads.aspx

Regards
Jens

Feb 6 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pif Paf | last post by:
I have a process, and my process wants to wait for input but only for a certain amount of time. The input might be coming from a Python file object (created with popen) or a TCP socket. What I...
3
by: Chanchito | last post by:
hi there, I am seeking some guidance in regards to creating a query. I would like to be able to have the query display records that have had a certain amount of time pass since the time that is...
1
by: Jack Wright | last post by:
Dear All, I have observed that if I call a synchronous WebService from my aspx page then even if I set oProxy.TimeOut = 1000, the WebService thread execution is still running... Since my...
3
by: headware | last post by:
We're using an access database and are getting a lot of crashes when as little as 3 or so users try to write to the database at the same time. Typically it's the "operation must use updateable...
2
by: Jim | last post by:
I know about and expect the first time an asp.net is viewed that the JIT compiler willc ompile the page and hence the slow response time for the page, but after a certain amount of time my asp.net...
4
by: Val P | last post by:
How does everyone design the database access layer in an asp.net application? Two options that come to mind is: 1. create a database class and instanciate it as needed, local to a function or...
5
by: Macca | last post by:
Hi, I have a multithreaded app which now needs database storage. I am in the process of designing my Data Access Layer but and was wondering what issues I should look for for in regards to a...
7
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
hey, I have 2 threads, th and th2, both of them run a method. each of these 2 methods requires database access. sometimes I get an error, that database requires an open connection, and that...
1
by: phantom29 | last post by:
Hello all, I've written an application that takes care of our employees working hours. It was developed using MSACCESS 2003 and running under both the full version of access and run time version....
4
by: Unicon | last post by:
Hi Is there any code which can deactivate / corrupt (delete main table) whole database after certain period (like after 1 month / or 6 months). Please advise.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.