inkedgfx
Well-known member
I wrote a function to validate that the user has filled in some textbox's ...the function I wrote works , just wondering is this is the correct way to do this.
should I put the txt variables between the "()" or is this ok as is?
InkedGFX
Private Function ValidateText() As Boolean
Dim isEmpty As Boolean = False
If Me.txtFirstName.Text = "" Or Me.txtLastName.Text = "" Then
isEmpty = True
Else
isEmpty = False
End If
Return isEmpty
End Function
should I put the txt variables between the "()" or is this ok as is?
InkedGFX