How can I check for empty fields after pressing a button??

I have code which makes all Fields value 0....so it should be possible to set all fields which have no data 0.

VB Code:
  1. Sub CmdZero_Click()
  2. Dim MyTextBox As Control
  3. For Each MyTextBox In Me.Controls
  4. If TypeOf MyTextBox Is TextBox Then MyTextBox.Text = "0"
  5. Next
  6. End Sub