Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Articles on this Page

(showing articles 521 to 523 of 523)
(showing articles 521 to 523 of 523)

Channel Description:

Post all your questions here that involve reporting. This can be on any reporting topic related to Visual Basic including, but not limited to Crystal Reports, Access and Data Report Designer.

older | 1 | .... | 25 | 26 | (Page 27)

    0 0

    Hello, 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: Code: --------- objRpt = New rptOVERDET objRpt.SummaryInfo.Dispose() objRpt.Subreports("srOverview").SetDataSource(dsDetail) objRpt.Subreports("srOverview").SummaryInfo.Dispose() objRpt.Subreports("srOverview").SummaryInfo.ReportComments = "Overview Report" & Trim(strReportHeader) & vbNewLine & Trim(strContactPhone) objRpt.Subreports("srDetail").SetDataSource(dsDetail) objRpt.Subreports("srDetail").SummaryInfo.Dispose() objRpt.Subreports("srDetail").SummaryInfo.ReportComments = "Detail Report" & Trim(strReportHeader) & vbNewLine & Trim(strContactPhone) --------- Any help would be greatly appreciated. Eddi Rae

    0 0

    Hi. 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

    0 0

    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.LocalReport.DataSources.Clear() PrintPreview.ReportViewer1.LocalReport.DataSources.Add(RDS) PrintPreview.ReportViewer1.LocalReport.Refresh() PrintPreview.ReportViewer1.PrinterSettings.Copies = 1 PrintPreview.ReportViewer1.SetDisplayMode(DisplayMode.PrintLayout) PrintPreview.ReportViewer1.ShowRefreshButton = True Dim p1 As New ReportParameter("p1", lookup) PrintPreview.ReportViewer1.LocalReport.SetParameters(p1) PrintPreview.ReportViewer1.LocalReport.Refresh() PrintPreview.ShowDialog() 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.Reset() PrintPreview.ReportViewer1.LocalReport.DataSources.Clear() 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.

older | 1 | .... | 25 | 26 | (Page 27)