dbmanalser84
Registered User.
- Local time
- Today, 13:56
- Joined
- Feb 26, 2008
- Messages
- 52
I have a combo box that is fueled by a query, and I want to detect when that query (that is a Row Source for the Combo box) returns no values (the Combo box that is fueled by that query is empty)?
I tried using the following codes:
and I didn't get the wanted results. Can somebody tell my how to solve my problem?
Thnx.
I tried using the following codes:
Code:
If cmbField1.Value = "" Or cmbField1.Value = Null Then
cmbField1.Value = "Empty"
End If
Code:
If cmbField1.ItemData(0) = "" Or cmbField1.ItemData(0)= Null Then
cmbField1.Value = "Empty"
End If
Thnx.