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

suppress subreport based on date

Status
Not open for further replies.

yolly12

MIS
Mar 21, 2005
83
0
0
hello,

I am writing a report in CR8.5 dev and i have a bunch of subreports in the group footer. These reports display sums of row counts based on the creation date

I would like to be able to suppress the months (subreports) that have not occurred yet.

so for my September07 subreport, my supress formula would be if CurrentDate <= '09/01/2007'then ???? else display.

(I need the help on the second part of the formula or am I in the right place to do this?)

thanks
 
Hi,
Right click on the subreport and choose format subreport..
In the supress formula tab ( for Sept. as an example) enter

CurrentDate < Date(2007,09,01)



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
you are too cool! thanks a bunch!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top