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

Selecting records from the current AND prior year

Status
Not open for further replies.

JuanRa

Technical User
May 17, 2000
6
US
I am trying to build a report where I can compare the records from a day this year to the same day last year.  
 
To find the same day in a previous year, then <br>Date((Year(Today) - 1),Month(Today),Day(Today)) will normally work, where Today can be replaced by any date value.&nbsp;&nbsp;However, if the date value is Feb 29, then this formula will result in an invalid date, so you have to decide how you are going to deal with that exception. <p>Malcolm Wynden<br><a href=mailto:wynden@island.dot.net>wynden@island.dot.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top