I’m generating the RDLC XML schema and showing the report in the ReportViewer control. No problems there.
Now, I want a report with 2 tables, with 2 differents dataset.
Something like this gets generated:
<Body>
<ReportItems>
<Table Name="Table1">
....
</Table>
<Table Name="Table2">
....
</Table>
</ReportItems>
</Body>
But, when printed, both tables start from the top, printing one table over the other (not nice)
Is there a way to tell that Table2 should start after Table1?
Update: I’ve tried with List with a fake DataSource, but it does not work.
I use a lot of report with multiple tables, I simply Add the the start of the second table exactly over the end of the second table, when rendered they appears one after the other.
So you need to configure the first table with:
And
Note that Table1.Top+Table1.Height=Table2.Top
Here is an example of two tables layout (with additional charts on top)
report designer two tables
Hope it helps!!