txtbox loose focus, throw msg box error.


/ Published in: VB.NET
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Private Sub txtBarcode_LostFocus()
  2. If Nz(txtBarcode.Value) = "" Then
  3. MsgBox "Barcode is required...", vbError, "Oops!"
  4. Me.txtBarcode.SetFocus
  5. End If
  6.  
  7. End Sub

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.