Hi everyone,
I have the following function:
Private Function TradeShippingCalc()
If [OrderSubtotal] >= 86 Then
[Shipping] = 0
Else: Me![Shipping] = 5
End If
End Function
When I call this function -
Private Sub TradeOrderSubform_Exit(Cancel As Integer)
Call TradeShippingCalc
End Sub
It only returns the Else: part of the code, no matter what value is in the [OrderSubtotal] the [Shipping] = 5
Any help would be greatly appreciated!
I have the following function:
Private Function TradeShippingCalc()
If [OrderSubtotal] >= 86 Then
[Shipping] = 0
Else: Me![Shipping] = 5
End If
End Function
When I call this function -
Private Sub TradeOrderSubform_Exit(Cancel As Integer)
Call TradeShippingCalc
End Sub
It only returns the Else: part of the code, no matter what value is in the [OrderSubtotal] the [Shipping] = 5
Any help would be greatly appreciated!