return a specific quarter data is in

P

pat67

I am trying to total dat based on the quarter. I cannot find any
functions for this. Does anyone know if there is or how to do this in
a query?
 
D

Duane Hookom

Both DatePart() and Format() allow you to extract the quarter of a date
value. You can also do a little math with the month number.
 
M

Marshall Barton

pat67 said:
I am trying to total dat based on the quarter. I cannot find any
functions for this. Does anyone know if there is or how to do this in
a query?


See if the DatePart (see VBA Help) function can be of use.
 
P

pat67

Both DatePart() and Format() allow you to extract the quarter of a date
value. You can also do a little math with the month number.

--
Duane Hookom
Microsoft Access MVP





- Show quoted text -

Thanks. DatePart works.
 

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

Top