What I need now is to get several sql records ... for example, get a range of invoices ... or a range of orders ... as I explain, at the moment I can get an invoice or an order ... well input as parameter an invoice number or order and ready ... BUT
I do not know how to make the report to give me a range of records ... send as parameters the invoices from 1 to 5 and give me the 5 invoices. ..
According to your description,is range of invoices and a range of orders are two reports?If you want to show multiply reports in one reportviewer, I suggest you to design all the reports to be sub-reports of one main report.Here is the link ,I hope
it could help you.
<div>Look , in sql database exist many records about employees and i created a report that show only one record, i mean , i pass only one parameters like code of employee...here... all it is right ... BUT i want show more than one record in report ,
i mean, i want send two or three codes and show two or three pages with respective information of every employees</div> <div></div>
Sorry ,I couldn't know your requirement clearly, reportview control will show the dataset you have set in the rdlc file.I don' t know what pages mean.Could you please cut a picture to show what you want? I will try my best to solve your problem.
Member
2 Points
67 Posts
How to add multiple reports to the same ReportViewer?
Jan 22, 2019 04:15 AM|Hector Florez M|LINK
Hi ;
What I need now is to get several sql records ... for example, get a range of invoices ... or a range of orders ... as I explain, at the moment I can get an invoice or an order ... well input as parameter an invoice number or order and ready ... BUT I do not know how to make the report to give me a range of records ... send as parameters the invoices from 1 to 5 and give me the 5 invoices. ..
I using VS2015 , aspx, web form and ReportView
thank you very much
Participant
1300 Points
522 Posts
Re: How to add multiple reports to the same ReportViewer?
Jan 23, 2019 03:15 AM|Wei Zhang|LINK
Hi Hector Florez M,
According to your description,is range of invoices and a range of orders are two reports?If you want to show multiply reports in one reportviewer, I suggest you to design all the reports to be sub-reports of one main report.Here is the link ,I hope it could help you.
https://www.youtube.com/watch?v=2-YkNo1Os3Y
https://www.youtube.com/watch?v=7AvCaq7a1fc
Best Regards
Wei Zhang
Member
2 Points
67 Posts
Re: How to add multiple reports to the same ReportViewer?
Jan 23, 2019 09:14 PM|Hector Florez M|LINK
Thank you Wei Zhang .... but :
<div>Look , in sql database exist many records about employees and i created a report that show only one record, i mean , i pass only one parameters like code of employee...here... all it is right ... BUT i want show more than one record in report , i mean, i want send two or three codes and show two or three pages with respective information of every employees</div> <div></div>or maybe about bills
I hope i be more clear
Participant
1300 Points
522 Posts
Re: How to add multiple reports to the same ReportViewer?
Jan 25, 2019 08:20 AM|Wei Zhang|LINK
Hi Hector Florez M,
Sorry ,I couldn't know your requirement clearly, reportview control will show the dataset you have set in the rdlc file.I don' t know what pages mean.Could you please cut a picture to show what you want? I will try my best to solve your problem.
Best Regards
Wei Zhang