Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Check Loaded Report for Data Source Name

$
0
0

VB 2010, CR 2011.

 

I am modifying a viewer that reports on a MySQL database and csv files.  I can change the data source on my reports at runtime.

 

I allow the users to add their own reports to the program.  The problem is that they do not always set the correct setting to indicate whether the report should run on the MySQL database or the csv files so they get errors.

 

I am trying to enhance the error checking and have been thinking that the best solution is for me to check the Data Source Name on the report and set which database the report should be run on.

 

I am using the Report Document, but can't find the Data Source Name.of the report.that I am loading.  Can anyone point me in the right direction?

 

TIA, rasinc


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>