07-29-2008, 06:12 AM
Ok this is what i want to do
s.getwintext(id(2"EditBox")) ;;Checks for amount in box ....Example Amount is 2,204.00
s.setwintext(id(4"CallCenter")) ;; Sets the amount in My Edit box for my dialog
Now i want to check the number in id*(2) edit box and If it is greater then 0 to take the amount and add it into the amount of 2,204.00
So Amount in the dialog would be = to s (2,204.00)
and new amount next time macro checks the edit box *2 is 3,000
so i want it to take old amount that is stored in the dialog and take the new amount that is in editbox *2 and add them to form a sum in the dialog editbox...
s.getwintext(id(2"EditBox")) ;;Checks for amount in box ....Example Amount is 2,204.00
s.setwintext(id(4"CallCenter")) ;; Sets the amount in My Edit box for my dialog
Now i want to check the number in id*(2) edit box and If it is greater then 0 to take the amount and add it into the amount of 2,204.00
So Amount in the dialog would be = to s (2,204.00)
and new amount next time macro checks the edit box *2 is 3,000
so i want it to take old amount that is stored in the dialog and take the new amount that is in editbox *2 and add them to form a sum in the dialog editbox...