Reuse only some of Crystal Reports update options?

I have Crystal Reports that takes 2 parameters. One of them is automatically installed by the C # application, which launches the report, and the other is set by the user. I would like to make it so that when the user updates the report, only the parameter entered by the user is requested.

I know the ReuseParameterValuesOnRefresh property, but this makes ALL the parameters reused. I also tried adding the refreshreports method, but this does not work. When I look at the definition of the Refresh () method, all I get is an abstract class with undefined methods, so I'm not sure where to look.

Has anyone dealt with such a problem before?

+5
source share
1 answer

You cannot perform a partial upgrade through Crystal. You will need to create your own settings window and set them yourself and display a hint when updating.

One simple job that you might not have thought about is to remove the parameter you set and

a) hard-code your own record selection criteria in the report b) pass your own record selection criteria when the report is running

The whole reason you set the parameter is because you can help select records. You can do this by setting your own record selection.

+1
source

All Articles