cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Cascading Parameter as Input for a Stored Procedure?

Former Member
0 Kudos

Hello,

Is there a way to use Dynamic Cascading Paramaters as Input for a Stored Procedure?

I have a Stored Procedure which has 3 Parameters that depend on each other.

Up to now, I found out how to use a Dynamic Parameter for one Parameter... but I wasn't able to cascade all three Parameters.

Thanks

Christoph

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I have not had much success trying to map a cascading prompt to existing parameters because it wants to create new ones for you, and it doesn't let you pick existing ones.

I have found a way around it, though it does have at least one limitation. I create a new blank report that has no datasource. I create the dynamic cascading prompts that I need and map them each to a parameter so that the value picked is captured. I then insert a subreport, and use the existing report that uses the stored proc. Link the two together, mapping the parameters from the main report to the subreport paramters.

The limitation that is that you Crystal won't let you have a subreport within a subreport. If you have subreport(s) in your existing report, this may won't be a good solution for you.