How can I use a “Data to Report” in a If statement? I have up to two tables that can be included in the report. What is the best way to handle this? The type of data and the format is different for each table? I am getting an error when trying to build the report.
this is not supported. The Problem is that you would than have under some conditions a table missing in BIRT. Which again would need to be resolved inside BIRT.
What you can do is, that you close the if with a end if node. And than sends this results to BIRT. Still the columns should not change, because BIRT does not accept changing table specifications.