This recipe demonstrates the ability to hide duplicates for each record in the detail band.
Steps taken:
- Create a report template (report.rml) using the given datasource (FruitSales.ds).
- Declare 2 variables at Function Definition:var value1 = “”;
var value2 = “”; - On renderEnd of the comparison, the 2 buffers ( value 1 and value 2 ) are used to store the previous values to be compared later on the next record.value2 = Fruit;
value1 = Company;
To download the necessary files for this recipe, refer to the attached ZIP package.
HowToHideDuplicates.zip (3.8 KB)