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

Last Date of current year

Status
Not open for further replies.

Costefran

Technical User
Joined
Jan 2, 2008
Messages
197
Location
GB
Can anyone help

I am trying to find the correct syntax for a parameter query to find dates that are greater than the last day of the current year

Any help would be appreciated

thanks
 
Is date greater than last day of the current year the same thing as year greater than current year?

 
SELECT ...
FROM ...
WHERE Year([your date field]) > Year(Date())

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Worked a treat

many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top