Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying the Date Quarter in a Query

Status
Not open for further replies.

CharlieT302

Instructor
Mar 17, 2005
406
US
Is there a simple formula to return the fiscal year quarter that applies to a date? I simply want January thru March to show as Qtr 1, etc.

thanks
 
What about Format([date field or control], "q") ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
That will work on one of my queries. However, in another I have only a month field that supplies the numeric value of the month (1 for Jan, 2 for Feb, etc). I need for 1 thru 3 to list as Qtr 1, and 4-6 to list as Qtr 2 and so on.

 
Something like this ?
1+(([month field]-1)\3)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top