Symptom
The static parameter should return the description instead of its value in Crystal Reports.
Environment
Crystal Reports 2008.
Reproducing the Issue
- Launch Crystal Reports designer.
- Create a new Crystal Report.
- Go to File menu.
- Click on Options.
- In Options window, go to Database tab.
- Under Table and Fields, click on the radio button of Show Description.
- Create a new Parameter. To create a new Parameter, in Field Explorer right click on Parameter Fields and click on New.
- Click on Value Field, drop down to select any field.
- Observe that the fields are displayed by Name and not by Description.
Cause
It is the default behavior of the product.
Resolution
-
Right click on the parameter field and click on Format Field.
-
A Format Editor window will open up.
-
Go to Common tab.
-
Click on the symbol (x+2) in front of Display String.
-
A Formula Workshop window will open up.
-
Select the field from which the description comes instead of the parameter field.
Keywords
Crystal Reports,static parameter. , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To
Product
Crystal Reports 2008 V0