Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi is there any possibility to change the font size(depends on the user) in reports(sql server 2008 reporting service) at run time.....

Thanks in advance
Posted

1 solution

Yes, you can using Expression property.

Try something like this:
=iif(Len(Fields!MyField.Value)>12,"7pt","8pt").


In place of MyField, use the field that has user info.

Also, If needed, you can use Custom code to get info about user at runtime and then use that in place of MyField.Value. For how to use Custom code, look here[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900