on 05-12-2014 5:30 AM
Hi Experts,
I have below requirement wherein I want to discount % only if its less than 100 else word 'foc' should be printed, I tried below
if {Command.DiscPrcnt}= 100 then 'FOC'
else {Command.DiscPrcnt}
it gives message string is required.
Can you advise how to get number and text results in same if statement.
Thansk
Deepak
Hi Deepak,
You can't! You'll need to convert the number to string. Try this:
if {Command.DiscPrcnt} < 100 then ToText({Command.DiscPrcnt})
else
'FOC'
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.