J
Jeff_Mac
Hi there. I'm a bit of a newbie, and I would appreciate any help that
anyone can give me on an error I'm getting with Crystal Reports.
Every time I attempt to view a report using the Crystal Report Viewer,
I get a "Load Report Failed" error, and I'm not sure what I can do to
resolve it.
I know it's not the connection to the data -- I'm able to get a
datagrid to display the data just fine after filling a dataset. I
tried searching the Crystal Decisions support site, and all of their
"load failed" info has to do with DLLs not being in the right place,
or permissions on the actual .RPT file, but all of that seems to be
in order.
These are the lines of code that keep kicking on me.
crReportDocument.Database.Tables(0).SetDataSource(DS)
CrystalReportViewer1.ReportSource =
crReportDocument
DS and crReportDocument are Dim-ed earlier like this:
[i:8f42c70c71] Dim crReportDocument As New CrystalReport1
Dim DS As DataSet[/i:8f42c70c71]
Any help would be greatly appreciated.
Thanks,
Jeff
anyone can give me on an error I'm getting with Crystal Reports.
Every time I attempt to view a report using the Crystal Report Viewer,
I get a "Load Report Failed" error, and I'm not sure what I can do to
resolve it.
I know it's not the connection to the data -- I'm able to get a
datagrid to display the data just fine after filling a dataset. I
tried searching the Crystal Decisions support site, and all of their
"load failed" info has to do with DLLs not being in the right place,
or permissions on the actual .RPT file, but all of that seems to be
in order.
These are the lines of code that keep kicking on me.
crReportDocument.Database.Tables(0).SetDataSource(DS)
CrystalReportViewer1.ReportSource =
crReportDocument
DS and crReportDocument are Dim-ed earlier like this:
[i:8f42c70c71] Dim crReportDocument As New CrystalReport1
Dim DS As DataSet[/i:8f42c70c71]
Any help would be greatly appreciated.
Thanks,
Jeff