Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Crazy Issue with having to set Report Source twice

$
0
0

Hi Michael

 

 

The code is a bit confusing as I'd expect something like:

 

rd.load(docpath)

rd.DataSource = some report source (Db conenction, dataset, etc.)

re.SetParameter(...

.

.

.

CrystalReportViewer1.ReportSource = rd

 

E.g.; Set the report data source before you do any setting of the parameters

 

Perhaps a sample app will help. See csharp_win_multirangeparam.zip and csharp_win_paramengine.zip and csharp_win_rangeparameters.zip and csharp_win_sub_daterange_param_engine.zip here:

 

Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki

 

Developer Help files:

SAP Crystal Reports .NET SDK Developer Guide

SAP Crystal Reports .NET API Guide

 

 

 

- Ludek


Viewing all articles
Browse latest Browse all 8950

Trending Articles



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