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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Code please :)

Status
Not open for further replies.

Tanya556

Technical User
Apr 5, 2002
34
US
In Access, is there a code that will automatically change a query to show the current calendar year quarter?

Thank you.
 
Hi.

format(Now(), "q")

will give the current date (Now()) in respect of its quarter, so,

format(mydate, "q")

would do the same for a field mydate.

Mr Big Dont be small. be BIG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top