expression between [] in TfrxmemoView is not calculated

Almost every expression I write between [] in a TfrxMemoview is evaluated to 0 (null?)

for example:
[NOW] -> 0
[IFF (3=3,"true","false")] -> 0
["aa"] -> 0

only [DATE] -> and [TIME] give right text in the preview: [DATE] -> 24-2-2016

Object inspector of the memo:
Allowexpressions=true
EpressionDelimiters=[,]
report.engineoptions.convertnulls = false
FR version 4.10.1

what is wrong with for example: [IFF (3=3,"true","false")] ?

Comments

  • gpigpi
    edited 7:07PM
    Use [IIF(3=3, 'true', 'false')] for Pascal Script or [IIF(3==3,"true","false")] for C++ Script
  • edited 7:07PM
    gpi wrote: »
    Use [IIF(3=3, 'true', 'false')] for Pascal Script or [IIF(3==3,"true","false")] for C++ Script

    I use the pascal script
    [IIF(3=3, 'true', 'false')] --> 0 in the print preview
  • gpigpi
    edited 7:07PM
    What TfrxMemoView display format do you use?
  • edited 7:07PM
    gpi wrote: »
    What TfrxMemoView display format do you use?

    I tried the formats: Text (no formatting) and Number. The result is 0 in all cases.
  • gpigpi
    edited 7:07PM
    Attach your report template (fr3) here

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.