Skip to Content
0
Former Member
Feb 04, 2009 at 06:14 PM

Thick Client JRC: setting a parameter to null

27 Views

If I'm going to set parameters in a CR and I want to set any type (String, Number, DateTime, etc), how do I set it to a null value, especially, if that parameter is an optional parameter? We are trying to set parameters to values before calling the ReportViewer. The ReportViewer will prompt for parameters if they are not set. What can I set an optional parameter to circumvent the ReportViewer from prompting on optional parameters? I tried doing a setCurrentValue() to a null. That did not work.

Or, is there a way to have the ReportViewer skip any optional parameter if they are not set?

GregD