Click here to Skip to main content
16,016,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I working o rdlc reports i want to show a table that contains Employee name and Salary and Put * with names of employes whose salary is more than 20000.And Add a Note at bottom of table only if it contains Names with *.
Problem I am facing is that the employee names are showing with * But Note at below is not shown .How I set expression for textbox that contains note so it is shown only when table contains any entry with*.

Is there any way to set parameter value depending on report fields at design time not in cs page coding.
Posted
Updated 20-Jun-12 19:27pm
v2

1 solution

Set parameter value depending on report fields at design time
using expression of parameters filtering by field value or text box value

Example:
HTML
=IIf(Int(First(Fields!YourField.Value, "ReportDataSource"))>1, Parameters!YourParameter.Value , "Some Text")

For more details or steps please explain exact requirement or sample code.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900