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
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
Please check i changed the property but no luck
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.
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
If you want an expression but no condition, the expression will be the value, such as "Bold".
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.
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.
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156