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!

Concatenate Date field 1

Status
Not open for further replies.

molly

Technical User
Jul 17, 2000
219
US
How can i take a date field in my Qry and have a new qry field Month and Year? EG if I had 6/14/2007, i want one field in the qry to show 6 and another field show 2007.

i need those answers to sum up some data.

just in case, maybe their is another command to sum up the June 2007 data.
 
You may either use Month([date field]), Year([date field]) or Format([date field],'yyyy-mm')

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top