This recipe demonstrates the use of script to display “No Records Found” in the report template when there is no data.
Label component “No Records Found” is placed in ‘Section Footer’ with script at ‘Render-If’.
Script: Data.getRecordCount()<1;
Note: This label component cannot be placed in report parts that will not render when there is no data.
Example: Group Header / Group Footer / Details
Choices available for this sample: A, B, C, no data
To download the necessary files for this recipe, refer to the attached ZIP package.
NoDataFound.zip (5.0 KB)