I am getting a missing parameter values when I attempt to set the parameter values from my C# application. There is a date parameter in the main report and there is a subreport with three parameters but they are all linked to the main report.
Here is my code:
reportDoc.Load("LEECRP.rpt");
reportDoc.SetParameterValue("WEDate", dateTimePicker1.Value.Date);
reportDoc.Database.Tables[0].SetDataSource(bidMDataSet);
reportDoc.Database.Tables[1].SetDataSource(payrollDataSet);
reportDoc.RecordSelectionFormula="{CostWork.Job}='" + job + "'";
reportDoc.ExportToDisk(ExportFormatType.PortableDocFormat, "C:\\Costing");
What am I missing?