Posted By

cdevitt on 04/19/10


Tagged

access


Versions (?)

txtbox loose focus, throw msg box error.


 / Published in: VB.NET
 

  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  

You need to login to post a comment.