Dinamically printing contents in a RTF template
Summary
<?if: ?> does not work in one caseContent
Hi,
I am using a RTF template for a Report that should display different contents on the basis of the field named "ANNO", whose value is equal to the value chosen by the user in the parameter "Year": when the user chooses a Year lower or equal to 2019, the report should display a layout, otherwise it should display the other one.
So I put two <?if: ?> in the RTF template:
-
<?if:((ANNO<’2019’) or (ANNO=’2019’))?>
-
<?if:((ANNO=’2020’) or (ANNO>’2020’))?>
The first one works when I select, for example, the Year '2019'. Instead the second one does not work: when I select the Year '2020' from the parameter, it prints an empty page even if there are data in the data model for that year.