Forum Discussion

25 Replies

  • George_Hepworth's avatar
    George_Hepworth
    Silver Contributor

    Tony2021 

     

    You'll need to convert to a Rich Text data type to support having two different formats applied.

     

    Or, you could place two Plain Text textboxes side by side for the two different formats, with the appropriate color and font applied to each.

    • Tony2021's avatar
      Tony2021
      Iron Contributor
      George, thank you.
      My fields are in a report if that matters.
      My field is not a rich text either.
      I dont think having 2 text boxes side by side would work since the field [Short Description] can grow and I need to have the txtSection at the end of the last word of field [Short Description]. Is there another trick you might know of?

      I thought I could simply add the word format([txtSection],"vbBlue" (like you would a currency field) but I guess I can not do that.

      • arnel_gp's avatar
        arnel_gp
        Iron Contributor
        agree. you should select Rich Text as Text Format for your Unbound textbox.
        on its ControlSource:

        =[Short Description] & " <font color=""#0072BC""><em>" & [txtSection] & "</em></font>"

Resources