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")] ?
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
I use the pascal script
[IIF(3=3, 'true', 'false')] --> 0 in the print preview
I tried the formats: Text (no formatting) and Number. The result is 0 in all cases.