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

Passing DataView as Parameter. Missing File ??

$
0
0

Using Visual Studio CE C# with CR 13.0.15

 

using CrystalDecisions.Shared;

using CrystalDecisions.ReportSource;

using CrystalDecisions.CrystalReports.Engine;

 

I thought I could get round the problem by making use of the rep.RecordSelectionFormula method but it did not meet my users needs as the syntax required it too complex. they prefer an SQL approach when setting a filter.

 

So anyway..

 

On my form, I have a grid showing a list customers. I have a filter function that filters down the data on the grid. This works fine,

 

I filter the data by passing a string (filterText) to the dataset. Something like countryID = "DE":

 

ds.Tables[0].DefaultView.RowFilter = filterText;

 

This returns a DataView Object.

 

Is there anyway I can pass this dataView object to my report and use it as a datasource for my report ?

 

I have tried it but I am getting error message:

 

crystal2.jpg

 

It appears I am missing the file "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll'"

 

Where / How can I get this file ?

 

J


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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