2006 Aug 09 5:02 PM
Dear Friends,
I am working on Check, it is working fine.
Now My requirement is, If the net Amount is more than 50,000. I should populate second signature.
So, I have created other window with second signature and in Script editor.
I wrote
/: IF ®UD-SWNET& GE 50000
/: BITMAP .........
/: ENDIF
But it is not working. when I remove the condition both signatures are poping up. I dont know where I am doing mistake.
1) Should I put '50000.00' or '50,000' or without inverted commas just 50,000
2) rugud-swnet field contains comma and decimals, so it is making any problem.
3) I have tried even using ®UD-SWNES&, but this field contains ****50,000.
Please advice me. Also advice me, when should we use inverted commas and when should not.
Thanks & Regards
Venkat.
2006 Aug 09 5:11 PM
Try
IF REGUD-SWNET& GE ' 50,000.00 '
Total length between the single quotes should be 18 chars and adjust the decimal places according to ur requirement.
Regards
Sridhar
Message was edited by: Sridhar K
2006 Aug 09 5:08 PM
2006 Aug 09 5:34 PM
2006 Aug 09 5:47 PM
Hi Nag & Sridhar,
I got it !! Thanks for your suggestions.
I just put
regud-swnet ge ' 50,000.000'
with 18 charecters between inverted commas.
Sridhar you are right, first time I tried with 2 decimal points.
Nag, I tried your suggestion as well, But that was not working.
Anyway... Thank you very much, I am closing this thread and alloting points.
Thanks & Regards
Venkat
Message was edited by: venkat Kumbham
2006 Aug 09 5:11 PM
Try
IF REGUD-SWNET& GE ' 50,000.00 '
Total length between the single quotes should be 18 chars and adjust the decimal places according to ur requirement.
Regards
Sridhar
Message was edited by: Sridhar K
2006 Aug 09 5:26 PM
Thanks Nag & Sridhar for your replies.
However as per sridhar suggestion, both signatures are poping-up even if regud-swnet is less than 50,000.
please advice me further.
Thanks
Venkat
2006 Aug 09 6:40 PM
Hi,
Declare a variable similar as type c, lets say <var>.
Now assign <var> = amount.
condense <var>.
now try cheque value gt <var>.
Reward points if helpful.
Regards