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

bound a year in a query 1

Status
Not open for further replies.
Mar 27, 2002
168
NL
I need to track data with a query from 1-1-02 to 31-12-02, but it must be variable for the years, so next year its 1-1-03 to 31-12-03
What's the easiest way to bound a column on this criteria?

Thnx in advance,
gerard
 
Hi

You can extract Year using Year() function, so if you have the query with a calculated column QYear:Year([datColumn]) and have a criteria on that column of (say) [Enter Year]. Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
As simple as efficient, so deserve the star. I like this forum!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top