chrisjames25
Registered User.
- Local time
- Today, 07:07
- Joined
- Dec 1, 2014
- Messages
- 401
Hi
I currently use the following code to check if a textbox is blank when i click an enter command button:
My question is is this the right way to test whether a combobox also isn't blank and has a valid entry.
I currently use the following code to check if a textbox is blank when i click an enter command button:
Code:
If Nz(Me.Txt_NewTier1, "") = "" Or Len(Trim(Me.Txt_NewTier1) & vbNullString) = 0 Then
' Enter message here
Exit Sub
else
End If
My question is is this the right way to test whether a combobox also isn't blank and has a valid entry.