Hi Guys,
I am facing one query in rdlc expression.
In my example : in my report layout there is one field. i.e. Authorized By .
and condition for that field is : If there is a value in field -> approved by or Field -> approved by name then only signature will be taken.
and all this fields have mediaset data type.
i am writing below expression on rdlc but still signature is not show on report.
=iif((Fields!ApprovedBy.Value<>" ") Or (Fields!Apprv__by_Procurement_HOD_Name.Value<>" "),Fields!Authorised_By_Signature1.Value,False).
Is any way to do this.
I think the easiest would be to add the signature field to your report and show or hide it based on your condition.
Or have I misunderstood what you want to achieve.
No, i dont want to hide field.
Are you using the "Hidden" property in RDLC to show or hide the field? This property takes true or false, true hides the field and false shows it. The result of your condition is true if one of the fields has a value, so then the field is hidden. So you have to replace <> with =, to show the field, if one of the fields has a value. Also, an empty field doesn't contain a space, so use "" instead of " ".
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156