cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional parameter values?

Former Member
0 Kudos

In Crystal XI, is there a way to place conditions on which values display in a dynamic parameter prompt?

For example, if I create a dynamic parameter for Company, can I have only companies that meet certain criteria dynamically populate the drop-down list?

If not, is there a way to accomplish this with a static parameter definition?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

To apply filter condition for a dynamic parameter you need to create a command using "Add Command" in database expert.

Now write the command like

select company from table where (use condition here)

click on ok and remove the links between the command ang existing tables.

Now create a dynamic parameter in the report and use company field from command instead of using for existing table. This shows you the data according the the fileter condition added in add command.

Regards,

Raghavendra

Answers (0)