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

Selecting records by year 1

Status
Not open for further replies.

Howard1024

Technical User
Oct 10, 2003
8
US
I have a query that selects a record by a specific date using the expression '[Enter mishap date (MM/DD/YY format)]' in the criteria. I need a similar query that selects all records by year group. Is there a similar sort option? The date format is 'short date (MM/DD/YYYY)'.
 
Hi

There is a Year() function which returns the year from a date

so you could put in the query Grid MishapYear:Year([MishapDate]) and a criteria of [Mishap year]

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top