B
BillyRogers
i have a query where the criteria row depends on the current date.
it needs to show
"01" or "02" or "03"
in the criteria row if the current date is in the 2nd quarter of the year and
"01" or "02" or "03" or "04" or "05" or "06"
if we are in the 3rd quarter of the year etc....
I tried to build a function in a module that uses month(Date) and based that
a select case statement, but nothing seemd to work. this is query where
someone has to type these values in by hand when they run the query every
quarter and i wanted to automate this part.
Thanks
it needs to show
"01" or "02" or "03"
in the criteria row if the current date is in the 2nd quarter of the year and
"01" or "02" or "03" or "04" or "05" or "06"
if we are in the 3rd quarter of the year etc....
I tried to build a function in a module that uses month(Date) and based that
a select case statement, but nothing seemd to work. this is query where
someone has to type these values in by hand when they run the query every
quarter and i wanted to automate this part.
Thanks