In addition to LB's suggestion, here a couple more options:
1) Since you're using a stored procedure, you could return it with your result set.
2) Create a formula on the report that displays a description based on the selected parameter:
[tt]
// @DisplayPrmDescription
select {?YourParameter}
case "A" : "A Description"
case "B" : "B Description"
case "C" : "C Description"
default: "No Description"
[/tt]
Option 2 could get messy and a pain to maintain if you have a lot of parameter options, or they change often.
This assumes that you mean that you want to display the description of the parameter at parameter collection time within Crystal.
Consider converting the SP to a View and then this is much simpler as you can just import or hand edit the descriptions and only display the descriptions if you so desire.
Keep in mind that Crystal is brain dead when it comes to parms as it does not automatically update a picklist when new values are added to the underlying table(s).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.