Hide page if no data
How can I hide a page if there is no data for that page?
I have a report that has a Monthly, Quarterly, and Yearly Page. These pages all pull from the same dataset and just apply a filter based on the period (The codes M, Q, Y are stored in a column). As of right now, the first quarter has not completed - it is still march.
Right now my Quarterly Page is printing with only a footer. I would like to remove the page. How can I do that?
Also, I want to do this within Fast Report designer - not in Delphi application code.
Thank you,
-Bill
I have a report that has a Monthly, Quarterly, and Yearly Page. These pages all pull from the same dataset and just apply a filter based on the period (The codes M, Q, Y are stored in a column). As of right now, the first quarter has not completed - it is still march.
Right now my Quarterly Page is printing with only a footer. I would like to remove the page. How can I do that?
Also, I want to do this within Fast Report designer - not in Delphi application code.
Thank you,
-Bill
Comments
I am having a similar issue - did you ever find a solution?
Thanks in advance,
Taylor
Page1.Visible := MasterData1.Dataset.RecordCount > 0;