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 / New Users / January 2005

Tip: Looking for answers? Try searching our database.

Clear out file based on time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mat - 06 Jan 2005 16:31 GMT
Hi

How do you run a procedure that activates at a set time?
I want to run a procedure that moves a log file to an
archive directory at midnight (or at anytime after this
when the PC is next turned on).
Thanks for any help...
Mat
Roxie Aho - 06 Jan 2005 19:27 GMT
> Hi
>
[quoted text clipped - 4 lines]
> Thanks for any help...
> Mat

This newsgroup is for users of the Microsoft Access database software.  
You'll probably get more help in one of the Windows newsgroups.

However, from the sound of your question, you already have the procedure
written and just neet to run it on a schedule.  Try Scheduled Tasks.  In
Windows 2000 you can find it under Accessories, System Tools. It may be
elsewhere in other versions.

Roxie Aho
roxiea at usinternet.com
Alex Ivanov - 06 Jan 2005 19:33 GMT
Use Windows Task Scheduler (Control Panel/Scheduled Tasks on WinXP)

BTW this is a group dedicated to Microsoft Access, a database product.

Signature

Please reply to NG only. This email is not monitored.
Alex.

> Hi
>
[quoted text clipped - 4 lines]
> Thanks for any help...
> Mat
Mat - 06 Jan 2005 20:18 GMT
Sorry, Perhaps I was not clear in original post.
I have an Access database that uses an external log file
to retrieve some data (eg date, email address, etc).
I want to be able to use VBA to archive the old log file
at midnight - or anytime after the next time the PC is
turned on. It will delete the original and then recreate
a new one.
I have the code to do the actual creation/deletion/move -
I am not sure about how the time part would be best
coded ?

Any ideas ...

>-----Original Message-----
>Use Windows Task Scheduler (Control Panel/Scheduled Tasks on WinXP)
[quoted text clipped - 11 lines]
>
>.
 
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.