Skip to Content
0
Former Member
Sep 05, 2012 at 08:25 AM

Pass optional parameters to CrystalReportViewer.ParameterFieldInfo

76 Views

Hi,

I have a report with three optional parameters. I want to provide the CrystalReportViewer with information so that it does *not* show the parameter dialog (or rather, does not request any optional parameters).

I tried just adding all parameters to the ParameterFieldInfo collection, but it prompts the missing "CurrentValues" despite the fact that the parameters are optional. What do I need to add to the ParameterFieldInfo collection so that it does not ask for optional parameters of my choice?

Any ideas?

Regards,

Florian