Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Missing parameter values error from C# application

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?

replied

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question