Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on RDLC reports and have worked on sub reports, grouping, lists etc
I want to show 3 reports (which differs from each other by 2 to 3 fields and parameters) in one RDLC report file?
can anyone assist me on doing this?
tell me if it is not possible.Because i think logically this cant happen
Posted
Updated 12-Mar-12 1:48am
v2

I have solved this myself. Thankyou
 
Share this answer
 
Comments
Sharma Richa 28-Mar-12 5:57am    
Dear shabibraza
Its great that you have solved it, But if you are sharing your problem then you also have to share the solution.
Developer.Code 29-Mar-12 3:01am    
sure I would like 2 know the solution you found
Sorry for not giving solution that time and for not replying.. Was bit busy.

Actually we cant have multiple designs in one rdlc reports or you can say we cant open multiple rdlc reports in single designer.

What we can do is that..
We can manage column visibility with bool parameters passing to rdlc file and at runtime designer will decide which column has to display and which column should be hidden.. Now I can open 3 reports having difference of 3 to 4 columns by passing bool type parameter for each column to display or hide.
like in column visiblity type this expression

=iif(Parameters!CountryVisible.Value="True",true,false)

where country visible is that parameter which has been passed through code for column visiblity.


You can also manage group data and group field through parameters
 
Share this answer
 
SQL
Hi,

you want to show 3 different reports in one single report then you can use subreports. Assume each of your report as a subreport & bind it with the main report.

If this wasn't the question then make it a bit more clear.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900