B
bmsc
I am trying to create an append query (or whatever would work) that
will allow the creation of repeated records in a table.
For example, I have a table with these fields (1st row) and example
data (2nd & 3rd rows):
event startdate freq
Sweep Driveway 10/03/05 12
Wash Car 10/08/05 4
The "freq" field is the number of times in a year the event should
repeat. So, what I need is to create records in a table (which only
needs "eventdate" and "event" fields) for the next year that would look
like this:
eventdate event
10/03/05 Sweep Driveway
10/08/05 Wash Car
11/03/05 Sweep Driveway
12/03/05 Sweep Driveway
01/03/06 Sweep Driveway
01/08/06 Wash Car
02/03/06 Sweep Driveway
...
This would continue for the full 12 months from the earliest
"eventdate".
Any ideas? Should this be done in VBA somehow?
Thanks for the help!
-B.
will allow the creation of repeated records in a table.
For example, I have a table with these fields (1st row) and example
data (2nd & 3rd rows):
event startdate freq
Sweep Driveway 10/03/05 12
Wash Car 10/08/05 4
The "freq" field is the number of times in a year the event should
repeat. So, what I need is to create records in a table (which only
needs "eventdate" and "event" fields) for the next year that would look
like this:
eventdate event
10/03/05 Sweep Driveway
10/08/05 Wash Car
11/03/05 Sweep Driveway
12/03/05 Sweep Driveway
01/03/06 Sweep Driveway
01/08/06 Wash Car
02/03/06 Sweep Driveway
...
This would continue for the full 12 months from the earliest
"eventdate".
Any ideas? Should this be done in VBA somehow?
Thanks for the help!
-B.