Hi I working with access and would likea macro to to run a backup query once a month.
Also I would like to execute an update query (with new year fields), once per year.
both should run to check if it should execute everytime on open.
Thoughts?
Hi I working with access and would likea macro to to run a backup query once a month.
Also I would like to execute an update query (with new year fields), once per year.
both should run to check if it should execute everytime on open.
Thoughts?
Look at this link. In the DateDif line, you will need to change the criteria to months and years.
http://www.tek-tips.com/viewthread.cfm?qid=670401
Here is a link on how to use DateDif
http://www.techonthenet.com/access/f...e/datediff.php
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Looks great, I'll screw around with this. Appreciate it...
Does the timer run for a year every time the databse is open? will the timer execute the macro if the database is not open during that exact time?
http://www.bluemoosetech.com/microso...0Timer%20Event
I think that you will have to add a scheduled Windows task to have it open and run Access for the events to take place. I personally have never done this. I think that a google search may be the most productive way to find a good answer for this.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks