>I'm trying to get a value out of a combo box
>and i use this code
>
> i=1
> do while i <= thisform.cbxdept.ListCount
> if thisform.cbxdept.Selected(i)
> exit
> else
> i=i+1
> endif
> enddo
>
>does anyone have any idea why the if statement
>is never true? I just runs up all the way
>to the number of elements. (this snippet WORKS
>on list boxes...are combos different?)
chris
Dumb question: Why not just use the Value property of the Combo Box?
Tom