bold inside IIF finction

edited May 2015 in FastReport 4.0
I try to add tag inside IIF finction
IIF(1=1, 'text1' + [b]'text2'[/b],'')

In designer, text2 is bold, but when I click Preview, I get an error: Error in expression IIF(1=1, 'text1' + 'text2',''): ')' expected.

I don't know why?

Comments

  • gpigpi
    edited 7:38AM
    Use [IIF(1=1, 'text1' + '[b]text2[/b]','')]

Leave a Comment