Quantcast
Viewing all articles
Browse latest Browse all 21340

[RESOLVED] text dosnt lower or eqals to another text

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
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


Viewing all articles
Browse latest Browse all 21340

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>