conditionalHeader

conditionalHeader

Forum member · Aug 2, 2013
For the subReport, how do I display the Header even when the result datatable is empty? The default behavior is when there is no result then the header is not show. Can I have a conditionalHeader that shows when the result is empty? Thanks.

Re: conditionalHeader

Support · Aug 5, 2013
Hello, It is not possible to display the Header or Footer in the SubReport when the result datatable is empty. This is desired behavior with our DynamicPDF ReportWriter API. Thanks, ceTe Software Support Team.

Re: conditionalHeader

Forum member · Nov 9, 2013
Why? If header is showing, we know there is no record. If header is not showing, people will suspect whether the report is working.

Re: conditionalHeader

Support · Nov 11, 2013
Hello, If the retrieved recordset is empty then the whole subreport will not be displayed in the output PDF report. This is desired behavior by design. If there is no data to display in the detail section of the subreport our API will not add any data related to subreport. Thanks, ceTe Software Support Team.