IF - Function in the memo text

Hi,

I added a memo field to a page (into the master band) and entered
following code as text:

[IF([PAGE#]=1, 'One Page', 'More Pages')]

Also this is not working:

[IF('1'='1', 'One Page', 'More Page')]

I get always an empty result and the field is blank.
The property OnlyText should be correct (set to False).

Who can help me? Thanks a lot for any advice!

Cheers
Stefan

Comments

  • edited 4:11PM
    Forget it! I have found the problem. It was in my code.
    I had overwritten the ParValue to '' in the event OnGetValue. Sorry!

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.