Blank Crystal Report Yet Data Exists (VB.Net) RRS feed

  • Question

  • I have developed a crystal report which I open with VB.Net code but does not display the data. However, when I preview

    the report under "Main Report Preview", the data is displayed. The report is "tied" to an MSAccess file that is

    automatically populated by the VB.Net prior to programmatically opening the report.

    Anything I am missing?
    The code to open the report looks like this:
    Public RptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument  
    frm_ReportDisplayer.CrystalReportViewer1.ReportSource = RptDoc

    (frm_ReportDisplayer is a windows form that on which the control CrystalReportViewer1 is placed that displays the

    crystal report)
    Wednesday, December 26, 2012 5:44 AM