2023 Apr 18 8:57 PM
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;