SAP Knowledge Base Article - Public

1430358 - How to handle optional parameters when using Crystal Reports in Visual Studio .NET.

Symptom

When no value is set to optional parameters, the following error is invoked:

"Missing Parameter Values"

Resolution

Set values to the optional parameters using IsNoValue property:

parameterField.CurrentValues.Clear();
parameterField.CurrentValues.IsNoValue = true;

Keywords

Forum thread , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 10.0 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 9.0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2