views:

102

answers:

2

i need to know if any text has been entered into a combobox

if i do:

If comboReason1.Value <> "" Then

it gives me an error, and if i do:

If comboReason1.Value <> Null then

this doesn't work.

how do i check whether text has been entered into the combobox?

+3  A: 
If IsNull(comboReason1.Value) then
Daniel
A: 

I am not in a position test this quickly, but try

if comboReason1.Text<>"" then
Adarsha