TfrxMemoView.Memo property editor and CRLF #13#10 code
How can I do some think like this code
with the report designer into the TfrxMemoView.Memo box (not in the code editor, but using the box that appear editing the MEMO object property)
I want to add a CRLF when then IIF condition is TRUE. This sample code don't work.
Is some way to create a new line into this editor? Some special code or function?
[IIF(<frxDBDatasetMaestro."TEXT1"> <> '', <frxDBDatasetMaestro."TEXT1"> [b]+ #13#10 +[/b] <frxDBDatasetMaestro."TEXT2">, <frxDBDatasetMaestro."TEXT2">)]
with the report designer into the TfrxMemoView.Memo box (not in the code editor, but using the box that appear editing the MEMO object property)
I want to add a CRLF when then IIF condition is TRUE. This sample code don't work.
Is some way to create a new line into this editor? Some special code or function?
Comments
The IIF() function seems to be extremely sensitive to something or other and even building the expression in the edit box, by selecting the functions and parameters from the lists, often fails to produce an expression that works. I have stopped wasting my time on it.
[IIF(<frxDBDatasetMaestro."TEXT1"> <> '', <frxDBDatasetMaestro."TEXT1"> + chr(13) + <frxDBDatasetMaestro."TEXT2">, <frxDBDatasetMaestro."TEXT2">)]