VB.NET ReportViewer: How to display one record per page?

D

Dan

Hi,

I am using the ReportViewer to display and print work orders. I have a
ServiceTicket.rdlc which displays all of the information for one
ticket on one page. This works fine, but what I need to do is have a
report that will show all of the service tickets for a specified
customer with each page being another ticket. This is where the
problem is. I added another ReportViewer and another rdlc, then
created a dataset that will return all of the tickets per customer.I
fill the TableAdapter and refresh the ReportViewer, but the report
shows only the first service ticket and it shows only 1 of 1 pages.
How can I force the ReportViewer to show each page with a different
record? Or is this even possible? I have searched everywhere with no
luck.

Here is the code I use to load the ReportViewer

Private Sub ServiceReportAll_Load(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles MyBase.Load

Me.ServiceReportCustomer_sTableAdapter.Fill(Me.DataSet1.ServiceReportCustomer_s,
gCusID)
Me.ReportViewer1.RefreshReport()

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top