Set font to bold if an entry has a particular value

  • Hi

    Trying to work out if this is possible, the customer enters a string of text into a text field, they want to be able to change the font to display in bold on the report but only for a word in the string of text is in brackets

    For example, they enter into the form

    This child is causing (problems) which they want reporting services to display as

    This child is causing problems

    Was hoping to use an IIF command using the Like expression but not sure if it will work!

    Thanks in advance

  • You can try to change the Placeholder Properties to use HTML instead of plain text.

    1: Replace your brackets with <B>, </B> - Replace(Replace(Text, "(", "<B>"), ")","</B>")

    2: Highlight your expression, right click and select Placeholder properties

    3: Select HTML as your markup type

  • Awesome, worked perfectly - sorry for taking so long to respond

Viewing 3 posts - 1 through 2 (of 2 total)

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