IIF and logical operators

edited 10:58PM in FastReport 4.0
Hi,I've tried to use logical operators with IIF function and I got only errors

[iif(<dbb."old_sum">>0 AND <dbb."old_sum">>0 ,'/////////////////////////////','')]
this works fine
[iif(<dbb."old_sum">>0 ,'/////////////////////////////','')]

Thanks

Comments

  • gpigpi
    edited 10:58PM
    Try
    [iif((<dbb."old_sum">>0) AND (<dbb."old_sum">>0) ,'/////////////////////////////','')]
  • edited 10:58PM
    Thanks a lot,it seems to work !!!!
    mrapi wrote: »
    Hi,I've tried to use logical operators with IIF function and I got only errors

    [iif(<dbb."old_sum">>0 AND <dbb."old_sum">>0 ,'/////////////////////////////','')]
    this works fine
    [iif(<dbb."old_sum">>0 ,'/////////////////////////////','')]

    Thanks

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.