Skip to Content
Former Member
Sep 28, 2010 at 04:20 PM

differences between CrystalReportViewer1.Refresh VS ReportDocument1.refresh



I have an Interop App that is called from a COM program.

In my application I have a COM Class and a windows form

In my Class I have a reference to the windows form objects:

Dim document As CrystalDecisions.CrystalReports.Engine.ReportDocument = formeRapport.myDocument

Dim visualiseur As CrystalDecisions.Windows.Forms.CrystalReportViewer = formeRapport.CrystalReportViewer1

I make the link between them with

visualiseur.ReportSource = document

When I want to refresh the report

Do I have to refresh the document, the visualiseur or both, or what is the difference?

Visual Basic 2008 Visual Studio Team System 2008 V 3.5 sp1

Crystal Reports 2008 V

Thanks in advance.