Copy this function from an existing report to the report template.
Make sure this argument is also added to the header and footer details band =if([FUNC_TOTAL_ROWS]=0;"false";"true") . This will remove the headers and footers when no data is present.
Copy this function from an existing report to the report template.
Make sure this argument is also added to the header and footer details band =if([FUNC_TOTAL_ROWS]=0;"false";"true") . This will remove the headers and footers when no data is present.