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

Crazy Issue with having to set Report Source twice

$
0
0

Hi,


We are using the latest CR References (13.0.12.1494).

 

We create a report document, set some parameters and some values then set the that report document as the report source of the CR Viewer.

 

The report generates but it does not take the parameters.


If we set the report source a 2nd time, the report takes the parameters and it generates just fine.

 

Actually...if we pause the code, inspect the Report Document object in Visual Studio, then continue the code it also generates just fine. (Without setting a 2nd time).

 

Actually if we do this:

if(rd.HasRecords) and just put anything after (like Int32 I = 0 or something) the report generates just fine.

 

The other interesting item is that our project has been using the 10.5 version of the DLL's for years. We are now trying to use the 13 version. I removed and added the references...but is there something else that we need to do to 'upgrade' our project?

 

Thanks.M


Viewing all articles
Browse latest Browse all 3636

Trending Articles