Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to make grid text bold in ssrs report using visual studio expressions

(0) ShareShare
ReportReport
Posted on by 3,060

Hi Experts,

I have a report and in the report there is a grid and in the grid i want to bold text using expressions only, all the texts no conditions simple bold text using visual studio expressions, please suggest.

Best Regards,

Shabir Ahmad

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,060 on at
    RE: How to make grid text bold in ssrs report using visual studio expressions

    font_2D00_size.png

    Please check i changed the property but no luck

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: How to make grid text bold in ssrs report using visual studio expressions

    No, your code doesn't look correct. It's trying to set a string (Bold) as a value of discount and Amount fields, which has nothing to do with your requirement.

    You want to set "Bold" as the value of FontWeight property of those two controls.

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,060 on at
    RE: How to make grid text bold in ssrs report using visual studio expressions

    Martin "Goshoom" Dráb

    ok thanks,

    let say, i have value  in grid  1 dicount , total amount etc  it would be like this   expression     = discount.value =Bold  2 = total Amount.Value=Bold

    Regards,

    Shabir Ahmad

  • Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: How to make grid text bold in ssrs report using visual studio expressions

    If you want an expression but no condition, the expression will be the value, such as "Bold".

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,060 on at
    RE: How to make grid text bold in ssrs report using visual studio expressions

    Martin "Goshoom" Dráb,

    sorry for late reply, in report design there is table grid and all the row and columns i want to be bold no condition but using expression is must. just simply bold the text in the report grid.

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: How to make grid text bold in ssrs report using visual studio expressions

    Just set an expression for the FontWeight property. For example:

    =iif(Fields!MyField.Value = "abc", "Bold", "Normal")

    Just note that I don't understand what you mean by "all the texts no conditions simple bold text using visual studio expressions". It may be missing some words.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans