Re: Self closing DB
- From: "Roger Carlson" <RogerCarlson@xxxxxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 14:39:12 -0500
On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "LogUsersOffNonUse.mdb" which logs a user off after a period
of non-use. This could be modified to work with a specific time period as
well.
--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
"Luis" <Luis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6DA5458C-94B3-403B-B8B5-ADE7E0E27768@xxxxxxxxxxxxxxxx
Thank you all for the quick solution.
On my company there are lots of users that dont close the applications
when
they go home. Unfortunatelly for me and some more application developers
that
need to update some data at night and sometimes some users let the
databases
opened exclusivelly.
This is my day to day struggle and i hope i win some day.
Thanks
"Baz" wrote:
You would need to base this on a form's timer event. If you have some
kind
of splash or background form that stays open throughout, you could use
this.
Alternatively, you could have a hidden form which opens on startup and
remains open.
You could have the timer event check the time every minute or whatever
or,
if you wanted to be clever and save precious CPU cycles, when the
abovementioned form opens you could have it check the time and calculate
the
timer interval so that it only fires once, at the appropriate time to say
goodnight.
"Luis" <Luis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:74B02B15-F0A5-4407-B172-759EE7331F0F@xxxxxxxxxxxxxxxx
Hello.its
I have a database that i need to close after working hours.
The idea i'm thinking is to create a process that checks the hour and
if
between 11pm and 12pm the database closes.
How can i do something like that?
Thanks
Luis
.
- References:
- Re: Self closing DB
- From: Baz
- Re: Self closing DB
- Prev by Date: Re: Self closing DB
- Next by Date: Object invalid or no longer set on CopyObject method
- Previous by thread: Re: Self closing DB
- Next by thread: Re: Open Access automatically
- Index(es):
Relevant Pages
|