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

Static from Date 1

Status
Not open for further replies.

Desertbratt

IS-IT--Management
Feb 21, 2012
3
US
Hi, I need to find posted data from the 7th of each month thru the end of any given month. i.e. the 7th of every month thru the end of the month. Any ideas?

Thanks!
 
You could use a selection formula like this:

{table.date} in date(year(currentdate),month(currentdate),7) to
dateserial(year(currentdate),month(currentdate)+1,1)-1

If you are using a date parameter, you can substitute that for currentdate.

-LB
 
I tried using this formula and I seem to be getting dates before the 7th of the month, like the 1st thru 3rd and so on.

{HSP_TRANSACTIONS.TX_POST_DATE}in Date(Year(CURRENTDATE)
,month(CURRENTDATE),7) to dateserial(year(CURRENTDATE)
,month(CURRENTDATE)+1,1)-1


Here's the formula.
 
Sorry, but that wouldn't be possible. Are you sure you are looking at the same date fields in the report and the in the formula?

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top