Skip to Content
avatar image
Former Member

Parameter Default Value behavior is different between versions

Hello.

I am attempting to upgrade from version 10.0.3300 of Crystal Reports for Visual Studio (SAP Crystal Reports 10) to the current version 13.0.2000. Generally the upgrade has gone fine but I have noticed that Default Values seem to behave differently.

For example in 10.0.3300 a user is prompted like this:

Sale is automatically selected and the user only needs to click the drop down if they wish to change to one of the other default values.

However in the current version the user initially sees:

So they are forced to select a value

Is there a programmatic way to select the first default value for the parameter? The report itself is developed in Crystal X and due to the number of reports this impacts making a report change is not practical.

Thanks!

sap-v10.png (6.4 kB)
sap-v131.png (4.6 kB)
sap-v132.png (5.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 22 at 04:53 PM

    I don't think there's a programmatic way to set it to default when a user it trying to run it. However, you could potentially write code using the SDK that will modify the report structure to add a default value to the parameter definition and then save the report.

    -Dell

    Add comment
    10|10000 characters needed characters exceeded