bikebanditcom
Programmer
won't add up the values, will only concatenate please help. the following bit of code is one of many in an if..then statement but it only concatenates them. how can i get around this?
".....ElseIf custRestockingFee = "Yes" And california = "Yes" And complete = "Yes" And CrdtToBeIssd = "Yes" Then
restockingFee = mercValue * .2
transAmount = (mercValue) + (addRtrnShipping) + (addOrigShipping) + (caSalesTax) - (restockCalc)
transType = "Enter Credit"....."
i've tried getting rid of the parenthesis or adding more in around the entire thing but no such luck. help please.
".....ElseIf custRestockingFee = "Yes" And california = "Yes" And complete = "Yes" And CrdtToBeIssd = "Yes" Then
restockingFee = mercValue * .2
transAmount = (mercValue) + (addRtrnShipping) + (addOrigShipping) + (caSalesTax) - (restockCalc)
transType = "Enter Credit"....."
i've tried getting rid of the parenthesis or adding more in around the entire thing but no such luck. help please.