conditional font size

  • In SSRS 2008, how do I code an expression to control the font size depending on the length of a text field?

  • =iif(len(value) > x, "8pt","10pt")

    Or am I misunderstanding your needs?

  • Turns out I was close ... just needed double quotes around the THEN and ELSE parameters.:-)

    =iif(Len(Fields!AGENCYNAME.Value)<40,"10pt","8pt")

  • Thank you, 'Journeyman'.

    No; you understood perfectly and your answer was exactly what I needed.:-)

  • Excellent!

    Glad you got it up and running.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply