- RSS Channel Showcase 9886359
- RSS Channel Showcase 2875947
- RSS Channel Showcase 7392014
- RSS Channel Showcase 2518808
- 06/17/17--15:22: Crystal Reports - Main Report having two subreports
- 06/19/17--20:38: Crystal Reports group footer appearing on following page
- 06/21/17--07:14: ReportViewer does not auto refresh after chainging data
I have a report where I am combining two independent reports together.
The main report doesn't have any data sources; they are only on the sub reports.
Both sub reports use the same dataset that contains three tables.
I am getting the error Object reference not set to an instance of an object when I run the code below:
objRpt = New rptOVERDET
objRpt.Subreports("srOverview").SummaryInfo.ReportComments = "Overview Report" & Trim(strReportHeader) & vbNewLine & Trim(strContactPhone)
objRpt.Subreports("srDetail").SummaryInfo.ReportComments = "Detail Report" & Trim(strReportHeader) & vbNewLine & Trim(strContactPhone)
Any help would be greatly appreciated.
I've got a report which has a group footer.
The footer sometimes appears by itself on a page. The previous page is full and so the footer (just some totals) appears on the following page.
the text that shown in group footer is "NOTHING FOLLOWS"
I don't want to have a next page if no details shows just group footer and other sections only
PLEASE SEE THE ATTACHMENTS FOR REFERENCE
1 SHOWS THE 2ND PAGE THAT SHOWS ONLY NOTHING TO FOLLOWS WITHOUT THE DETAILS
2 SHOWS THE DESIGN VIEW
3 SHOWS THE FIRST PAGE INCLUDING ALL THE DETAILS
I have an application that goes an gets data from SQL then displays it in a local rdlc. Then close the print preview form and run the program again to get different data. The print preview comes up with the old data. Even though I have: PrintPreview.ReportViewer1.LocalReport.Refresh(). If I right click ont the print preview form and refresh or hit the refresh button then the data updates on the screen. this is my code
Dim RDS As New ReportDataSource("DataSet1", ds.Tables(0))
PrintPreview.ReportViewer1.ProcessingMode = ProcessingMode.Local
PrintPreview.ReportViewer1.PrinterSettings.Copies = 1
PrintPreview.ReportViewer1.ShowRefreshButton = True
Dim p1 As New ReportParameter("p1", lookup)
I think I can fix it by using below code after the ShowDialog but I am not sure of how to rebind the datasource.
PrintPreview.ReportViewer1.LocalReport.ReportPath = "History Report.rdlc"
Dim bindingsource As BindingSource = New BindingSource()
Now where do I go? (VS 2013)
Any help is much appreciated.