Create a repeating entry in Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to create a repeating record in Access, i.e., every 7 days? I
have a standing reservation that has to be entered into an Access database.
Thank you.
 
Is it possible to create a repeating record in Access, i.e., every 7 days? I
have a standing reservation that has to be entered into an Access database.
Thank you.

An Append query could do this pretty easily. What's your table
structure? How many days out do you want this - a month, ten
centuries?


John W. Vinson[MVP]
 
For this to work the database must be running and a form must be open. The
form can be invisible though.

On the timer event create something like below (caution air code and won't
work):

If WeekDay(Date()) = 6 then
docmd.runsql ......
Endif

The 6 above is for Fridays. Sunday is 1.

Set the timer interval to run only once a day which is a rather large number
as it's in milliseconds.

1000 * 60 * 60 * 24 = 8640000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top