i have a text 12 that suppose to check if its Lower or equal then text 2 but when i update
and put a lower amount it dosnt say that its Lower
this is my code
when i save
this is when i update
and put a lower amount it dosnt say that its Lower
this is my code
when i save
Code:
If Txt(12).text <= Txt(2).text Then
MsgBox "the price of the customer cant be lower or equal to the orginal price", vbExclamation
Txt(12).text = ""
Txt(12).SetFocus
Exit Sub
End If
this is when i update
Code:
With FrmInventory.LsVw.SelectedItem
If Txt(12).text <= Txt(2).text Then
MsgBox "the price of the customer cant be lower or equal to the orginal price", vbExclamation
Txt(12).text = ""
Txt(12).SetFocus
Exit Sub
End If