i have about 21 textbox in my form

example i got 1 client name textbox and 1 current age textbox and one is profit textbox

how can i check all the textbox in my form ???

the client name text box is string
the current aga textbox is number
the profit textbox is double

how to use the for loop to check all the textbox ??

can someone please help me ???

and i have the coding below

Dim Ctr As Control

For Each Ctr In Me.Controls

If TypeOf Ctr Is TextBox Then

If Ctr.Text = "" Then

CheckTextBoxIsEmpty += 1
Else
CheckTextBoxIsEmpty = 0

End If

End If
Next

this check is emty or not