Old 4.7 basic version IIF change ?

edited 1:54AM in FastReport 4.0
Hi list, I installed 4.9 version for TurboDelphi and old reports with IIF statements in memo doesn't work, should I have to go back to my old 4.7 version ?

I had read some topics here about IIF function but nothing helps, a few of my expressions are:


[IIF(1=1,'TRUE','FALSE')] memo is blank

[IIF(true,'TRUE','FALSE')] memo is blank

[IIF(<FDBoentpt."cant_pt">>0;'HIGHER';'LOWER')] cant_pt is a real data typed field with value > 0 memo is blank

[IIF(<FDBoent."or_oent">='E','WITH E','WITHOUT E')] or_oent is char(1) with 'E' or 'P' memo is blank


I already replace ; by , an other variations, but memo always is blank, what I'm doing wrong, please ?, some help will be very appreciated.

Thanks in advance.

Comments

  • edited 1:54AM
    Well, I don't know what I did, I went back to may 4.7 version and still my Memos are blank.

    So, I am really lost now, why my IIF memos worked well in past versions of my app and not now ?

    Please, some help is very needed. Thanks.

    Oriol.
  • gordkgordk St.Catherines On. Canada.
    edited 1:54AM
    sample test
    [IIF(<Line#> = 2,'true','false')]
    works fine, prints true when line# = 2
    so your first parameter is probably not equating to a valid boolean value
    fr4.9.84 enterprise.

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.