G
Guest
Hi all
I need a routine running once a quarter. I want the default [Quarterdate] to
be suggested to the user to be the first of the month of the next quarter(if
this makes sense?). Quarters are 01 Jan - 31 March etc.
I then want to append to a table all dates in this quarter for each person
in my Specialists Table who have Plan = True (storing field SpecID and
PlanDate in Table QuarterlyPlan). Would I use
EndQuarter=DatAdd([QuarterDate,"m",3).
use code to work out how many days between the two dates then use this in a
for to loop? I am not sure how to do it for each Person's records, but I
could maybe achieve this with queries once the quarter dates had been created.
Thanks in advance for any help.
Sue
I need a routine running once a quarter. I want the default [Quarterdate] to
be suggested to the user to be the first of the month of the next quarter(if
this makes sense?). Quarters are 01 Jan - 31 March etc.
I then want to append to a table all dates in this quarter for each person
in my Specialists Table who have Plan = True (storing field SpecID and
PlanDate in Table QuarterlyPlan). Would I use
EndQuarter=DatAdd([QuarterDate,"m",3).
Then loop through code creating dates until date is less than EndQuarter. Or=QuarterDate and < EndQuarter
use code to work out how many days between the two dates then use this in a
for to loop? I am not sure how to do it for each Person's records, but I
could maybe achieve this with queries once the quarter dates had been created.
Thanks in advance for any help.
Sue