Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Conditional parameter values?

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.

Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question