Printing a report page even if its dataset is empty?
I have a master band containg some text and a subreport. The subreport is designed on a separate TfrxReportPage as usual.
The subreport contains a header band containing fixed text and a data band containg some fixed text, a few data fields and a few rectangle shapes
The 'outer' master band and the master band in the subreport have their own data sets, linked as master/detail outside of the report
I have set the TfrxReportPage property PrintIfEmpty to true on both the main page and the subreport page.
The report runs OK but it only shows the subreport when there is data returned by its dataset.
If the data set is empty there is just a blank space where the sub report should be, not even the static text and rectangles are shown.
Is there some other setting I need to make to ensure that the subreport is shown anyway, even if it contains no data.
I did check this post from 2011 but that refers to group band and although I do have one group band I can't get the subreport to print even if I remove the group band
https://www.fast-report.com/en/forum/index....hl=PrintIfEmpty
The subreport contains a header band containing fixed text and a data band containg some fixed text, a few data fields and a few rectangle shapes
The 'outer' master band and the master band in the subreport have their own data sets, linked as master/detail outside of the report
I have set the TfrxReportPage property PrintIfEmpty to true on both the main page and the subreport page.
The report runs OK but it only shows the subreport when there is data returned by its dataset.
If the data set is empty there is just a blank space where the sub report should be, not even the static text and rectangles are shown.
Is there some other setting I need to make to ensure that the subreport is shown anyway, even if it contains no data.
I did check this post from 2011 but that refers to group band and although I do have one group band I can't get the subreport to print even if I remove the group band
https://www.fast-report.com/en/forum/index....hl=PrintIfEmpty
Comments
I have same question --