Link to home
Start Free TrialLog in
Avatar of Dee
DeeFlag for United States of America

asked on

Crystal Reports changed datasource location now getting no data

I have a crystal report designed in VS 2008 Crystal Reports.  When I changed the datasource location using the field explorer from my test database to my live database, I am getting a blank report.

The report has 1 table.   The table name is the same.  I clicked on Verify database and got message it is up to date.

I have no idea how to troubleshoot this.  Any idea where to start?

I have another report printing fine from the same datasource after changing locations ...
Public Const sReportPath As String = "\\MWWDC\VISIBAR\MIS\Projects_DotNet\Reports\PttPickTicket\"
    Sub LoadReport2()
        Dim cr As New ReportDocument
            cr.Load(sReportPath & "crpPttPickTicket_label.rpt")
            frmReport.CrystalReportViewer1.ReportSource = cr
        Catch ex As Exception
            sErrNo = Err.Number.ToString
            sError = "LoadReport" & vbCrLf & Err.Description & " " & "ErrNo: " & sErrNo
        End Try
    End Sub

Open in new window

Avatar of Dee
Flag of United States of America image


The data table is on sql server.
Avatar of Dee
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial