R
Rich
Guest
What's the value displayed in Text21, are you sure the value you're looking for is in Text21, where does the value for Text21 come from?
Dim x As Currency
Dim y As Currency
Me![PurchasesSubForm]![T1].SetFocus
x = Me![PurchasesSubForm]![T1].Value
Me![PurchasesSubForm]![T2].SetFocus
y = Me![PurchasesSubForm]![T2].Value
Dim calc As Currency
calc = x - y
cmdrefresh_Click
End Sub
Order_Total_Click