cancel
Showing results for 
Search instead for 
Did you mean: 

combo box check

Former Member
0 Kudos

How can I, by God's shake, check if a combo box has any value selected?

I tried with If XXXX.Selected.Value = "" Then... but it doesn't work.

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

well, you must have an entry in the combobox with the key "" and use it as non selected if you want to control if it's 'empty' or not... How bizzarre is that...

Former Member
0 Kudos

check for the .selected is nothing (it is an object)


If Not (.Selected Is Nothing) Then

Indika

Former Member
0 Kudos

It has. But what I want to know is if there is no value selected in the combobox

Former Member
0 Kudos

Hi,

I think that you have to use a dbdatasource or dbuserdatasource associated with the checkbox, and then access the value of the field associated.

Ribeiro Santos