this is the only problem I'm still having. I didn't put it in my last thread b/c I figured everything else out. Anyway I need to make an if, then statement for this:
If not number or = 0 or < 0 then display message box
This is what I got and it works fine, but don't know how to make it appear if someone enters Text (ex:asfasfafsas)
VB Code:
If txtTransaction.Text <= "0" Then MessageBox.Show("Please enter an amount > 0.", "Error") txtTransaction.Focus() End If




Reply With Quote