• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2192
  • Last Modified:

Display Parameter Description for a Crystal report

Is there a way to display the parameter description for a crystal report.
iam using Crystal XI
0
Star79
Asked:
Star79
  • 2
1 Solution
 
mlmccCommented:
What do you mean by the parameter desciption?

Generally the description is another database field and can be displayed just by including it in the field selection and putting it on the report.

If you are providing all the parameter values and descriptions, I don't think you can display the description.

If you don't hve too many values and values aren't added, you could create a formula to test the value then display the apropriate value

If {?param} = 1 then
    "Desc1"
Else If {?param} = 2 then
    "Desc2"
Else etc


mlmcc
0
 
Star79Author Commented:
sorry mlmcc,
If I have a parameter which is dynamic example facilityid and facilityname.
Facilityid is the value and facname is the description. So how to display the facname in the report.The data is coming from a subreport.
Thanks
0
 
mlmccCommented:
You should be able to add facility name to the query and then just use the field.  if you need to pass the value to or from a subreport you can use a shared variable.

mlmcc
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now