Quantcast
Viewing all articles
Browse latest Browse all 3636

Error setting ReportDocument.SetDataSource with Dataset

I'm using Visual Basic 2015 (Visual Studio 2015 Professional) and SAP Crystal Report for Visual Studio SP16.

 

To send dynamically data from ADODB.Recordset to Report I'm setting ReportDocument.SetDataSource property with a Dataset, the same of the Report DataSource (generated with Dataset.WriteXML):

 

Image may be NSFW.
Clik here to view.
Immagine1.png

 

This solution work correctly in VS2008.

 

The cryRpt.SetDataSource  setting generate the following Error: Unable to load the database information

 


Image may be NSFW.
Clik here to view.
Immagine2.png

 

Attached Report DataSource Image and XML Dataset.

 

Thanks for help.


Viewing all articles
Browse latest Browse all 3636

Trending Articles