09-13-2011, 04:37 PM
(This post was last modified: 09-13-2011, 04:39 PM by Himanshu2585.)
Thanks Supputuri for your help...i have one another thing like
From the previous screenshots i have attached cint(t3) is Cart Sub total and t4 is Estimated total...
Below is the condition that u have tried for "if Cart Subtotal is greater than 55 then cart subttal and estimated total are equal and report event" and in second condition "if Cart Subtotal is smaller than 55 then cart subtotal + 5.95 is equal to estimated total are equal and report event"
Can you give me the correct way to put these condition in loop (if then else)with reporter.reportevent.
From the previous screenshots i have attached cint(t3) is Cart Sub total and t4 is Estimated total...
Below is the condition that u have tried for "if Cart Subtotal is greater than 55 then cart subttal and estimated total are equal and report event" and in second condition "if Cart Subtotal is smaller than 55 then cart subtotal + 5.95 is equal to estimated total are equal and report event"
Can you give me the correct way to put these condition in loop (if then else)with reporter.reportevent.
Code:
If cint(t3) > 55 Then
t4= t3 & Reporter.ReportEvent micPass, "Estimated Delivery Fee", "Estimated Delivery Fee is FREE"
End if
Code:
If cint(t3) < 55 then
t4= cint(t3)+ 5.95 & Reporter.ReportEvent micPass, "Estimated Delivery Fee", "Estimated Delivery Fee is $5.95"
End If