Skip to Content
Former Member
Jul 22, 2008 at 04:29 PM

Accessing DefaultValues for parameters with dynamic values


We have a custom user interface we place in front of all Crystal Reports (to maintain look&feel) that reads the parameters from the report and dynamically generates controls for user input. The only time this doesn't work is for parameters that have dynamically generated default values. If there is a static list of default values then we get the list from the DefaultValues collection; but if the list is dynamic then the collection is empty.

Is there a way to force this collection to be populated, or alternatively, a way to find out what SQL query is being used to populate the parameter list?