Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

Code for checking if MaskTextBox is empty

I need to check whether a MaskTextBox is empty. I am searching for records based on the last name or the date of birth. I need to know what the code would be when checking for an empty MaskTextBox.
0
rfgraham
Asked:
rfgraham
1 Solution
 
aherpsCommented:


If MaskTextBox1.text = "" Then
 
'do something
 
Else
 
'do something else
 
End If

Open in new window

0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now