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

Date Forumla

Status
Not open for further replies.

sfaulin

IS-IT--Management
Jul 30, 2002
1
US
I am trying to filter on a statement date field to show account statements that have been run any date during the current month. I would prefer to not have to change the values on the report each month. Does anyone know of a formula that could be used to impliment this?

Thanks
 
year(date_field) = year(now()) and month(date_field) = month(now()) should do the trick. You can use today() instead of now() if your database does not support now() function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top