Menu

Multiple conditions for formatting text

2017-04-07
2023-02-25
  • Venardos Gonidakis

    Hi there,
    I am trying to find a way to set a different visualization of a text field. In your examples i can only find single condition...e.g. if [Sum] < 0 then color=red.
    What if i want to use more than one conditions ?
    e.g. if [Sum] <0 then color=red
    if [Sum] > 0 then color=blue.
    Is something like this supported by QtRPT ?

    Thanks in advance !!!
    Best regards
    Venardos

     
  • polpol

    polpol - 2023-02-24

    Hi aleks, I think now it is supported (as stated on Page21 of readme.doc.
    But somehow it fails
    It fails to change anythink wen I have condition [myfield]="Ready"

     
    • aliks-os

      aliks-os - 2023-02-25

      very strange, all work on my side.
      Please take into attention that for comparing you should use == instead of single =
      It is a basic of programming language

       

Log in to post a comment.