cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ReportDocument.HasRecords throws DataSourceException

Former Member
0 Likes
1,217

Hi at all

I used the CrystalDecisions.CrystalReports.Engine Version 11.5.3700.0. Now I would upgrad to the Version 12.0.2000.0, because we already use this version in other projects. I connect the data over ADO.Net with DataSets (.xsd).

I have the following code:

_crDoc = new ReportDocument();

_crDoc.Load(ReportFileInclPath);

_crDoc.SetDataSource(DataSource); // DataSource is a DataSet

The problem is Version 12 has a Property that is called HasRecords which throws a DataSourcException. In Version 11.5, this property does not exist.

Have anyone an idea what the problem can be?

Thanks

View Entire Topic
Former Member
0 Likes

Let's get you to SP 6 for CR 2008 and see if that helps:

https://share.sap.com/a:328ro3/MyAttachments/c1371921-d93c-428c-b39a-ac779dea4080/

Ludek                                                                                                                                                    Senior
Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Former Member
0 Likes

I can't open the Archive.

Former Member
0 Likes

That does not tell me much really... Errors? Etc.?

- Ludek

Former Member
0 Likes

You have uploaded an *.zip archive with the SP6 for crystal reports 2008. I have downloaded this package and got an error. Something like "archive X.zip is invalid".

Former Member