Micro Focus QTP (UFT) Forums
Adding negative amount in webedit - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Adding negative amount in webedit (/Thread-Adding-negative-amount-in-webedit)



Adding negative amount in webedit - Rose - 06-29-2016

How would I add negative amount in webedit  (- amount)


Obj.ChildItem(2,5,"WebEdit",0).Set strAmmt
Obj.ChildItem(2,6,"WebEdit",0).Set  -strAmmt  not sure how to add negative amount

 
TIA


RE: Adding negative amount in webedit - babu123 - 06-30-2016

Obj.ChildItem(2,6,"WebEdit",0).Set "-"&strAmmt