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
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.
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.
If you want an expression but no condition, the expression will be the value, such as "Bold".
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,
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.
Please check i changed the property but no luck
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,100
André Arnaud de Cal... 890 Super User 2025 Season 2
Sohaib Cheema 633 User Group Leader