
I collected the parm values in my own GUI and pasted it into CR. At this point everything was fine and worked the way I intended it to. I designed the original version of the report with the following parms: IncludeStatus and IncludeMaintCode, which are boolean, and Status and FuncCode which supports mulitple string values. In re-reading my post, I realized I wasn't clear on where I'm at in this project. I appreciate you taking the time to offer another alternative. ParamFields.Add(paramField) //The parameter is incorrectĪny suggestion about what's wrong will be greatly appreciated ParameterValue.Value = includeCounty //set to true or false ParamFields.Add(paramField) //This parm is also good


ParameterValue.Value = includeFunctionCodes //set to true or false ParameterValue = new ParameterDiscreteValue () ParamFields.Add(paramField) //This parm is good ParameterValue.Value = includeStatusCodes //set to true or false ParameterDiscreteValue parameterValue = new ParameterDiscreteValue () NET KBase Article: c2018826, but i doubt that it's applicable Business Objects put out a patch for VS 2002. In my search on the internet I've found others that had this problem, but no real answers. I've double checked many timesĪnd the parm names are correct. The 1st two parms I had added earlier, and they are OK. I've triedĬommenting out each of the parms, and each one returns the same error.īelow is my code.

Unfortunately, the viewer returns a box with the message "The parameter is incorrect". I thought it would go smoothly since most of the work wouldīe cut-n-paste. I need to add 4 new parms to each of the reports. I've successfully developed 4 CR reports that uses parms. I'm working in CR10, C#, Visual Studio 2005.
