FastReport 4.9 problem IIF Function

Which is the right syntax of IIF Function?
I have this expression
[IIF(StrToInt(COPY(<frxDBDataset1."BI_COD">,1,1)) mod 2=1, 'domnul', 'doamna')] and i get the error that ')' is missing.
i've tried and something easier like
[IIF(1=1,'yes','no')] and i get the same error message.
Has anyone used iif function in FastReport 4.9?

Comments

  • gpigpi
    edited 3:28PM
    Use FR 4.12
    [IIF(1=1,'yes','no')] works OK with FR 4.12

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.