web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to add or condition in rdlc report layout in business central

(0) ShareShare
ReportReport
Posted on by 153

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 have the same question (0)
  • Suggested answer
    GER_Nico Profile Picture
    117 on at

    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 " ".

  • Nilam Bhor Profile Picture
    153 on at

    No, i dont want to hide field.

  • GER_Nico Profile Picture
    117 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans