Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Parameters based on Stored Proceedures

Status
Not open for further replies.

SDB15

Technical User
Apr 9, 2009
21
US
I'm using a stored proceedure to define a custom set of choices delivered to a dynamic parameter. Works like a charm in standard reports. The problem is when I run it against a report that uses another stored proceedure, it wants me to fill in the parameters for the other proceedure before it will give me the pick list. This is user unfriendly so I'm trying to find a way around it. Any ideas?
 
Put the other stored procedure in a subreport. Pass down the parameter, using Edit > Subreport Link.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Worked perfectly after I figured out how to match the parameters' data types in SQL. (turns out SQL dates are always DATETIME fields)

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top