Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using an SQL View as a datasource with a parameter

0 Kudos
231
  • SAP Managed Tags:

I've created a report where the data is coming from an SQL View. It works. However, I need to use a parameter to filter the view down slightly for the report. I created a parameter in the report. The report.SetParameterValue function has no effect and the view returns all records. The code below works except the SetParameterValue line has no effect.

Report1 = new Report1();

Report1.SetParameterValue("parmInspectionID", m_nInspectionID);

CrystalReportViewer.ReportSource = Report1;

0 REPLIES 0