AnsweredAssumed Answered

Inserting text in a field under "IF" conditions

Question asked by millebjoerk on Mar 8, 2010
Latest reply on Mar 8, 2010 by ninja


Inserting text in a field under "IF" conditions




I'm trying to make a script which inserts a certain text if a condition is fulfilled and inserts another certain text if another condition is fulfilled in a field.


I have tried with the following script:


If [Products:: Max > Products::Current number ≥ Products:: Max - 2]                      

     Insert Text [Select; Products::Status; "Few products left"]

End If

If [Products:: Max  ≤ Products::Current number ]

     Insert Text [Select; Products::Status; "Products sold out"]

End If


But it does not work. It's like nothing happens as if it is not activated..


Can anyone help me?


Best, Mille