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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameter

Status
Not open for further replies.

ridhirao22

Programmer
Aug 27, 2010
140
US
Hello All,

I have a string Parameter with custom list in the drop down with description. Is there a way I could display the parameter description in the report header instead of the input value entered.
That will omit any changes to the formula for descriptions to added new values in case.

Currently I do is {@OrderType}
If {?OrderType} = ‘C’ then ‘Calls Order’
Else if {?OrderType} = ‘W’ then ‘Web Orders’ etc.


For ex: {?OrderType}

Value Description
C Calls Orders
W Web Orders
R Store Orders
A All Orders

TIA,
RR
 
Insert a subreport that shows the description field (group on it) and then link the sub to the main report by linking the parameter in the main report to the value field in the subreport.

-LB
 
Lb,

How do I show just the Description of the parameter field?
Everytime I place th e{?ordertype} I only see value part and not the description.

TIA,
 
I assumed that you have a table that contains the value field and the description field. You would use that in the subreport, placing the description field in the detail section and then grouping on it. Then suppress the other sections. Then link the parameter in the main report to the value in the sub in the subreport linking screen.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top