Skip to Content
0
Former Member
Nov 25, 2009 at 09:42 AM

Avoid Combobox description

10 Views

Hi,All

I want to avoid combobox description

i did like this

If oCmbBox.ValidValues.Count = 0 Then
            rs.DoQuery("Select ItmsGrpNam from OITB")
            rs.MoveFirst()
            For i As Int16 = 0 To rs.RecordCount - 1

                oCmbBox.ValidValues.Add(rs.Fields.Item("ItmsGrpNam").Value, rs.Fields.Item("ItmsGrpNam").Value)
                objForm.Items.Item("10").DisplayDesc = False
                rs.MoveNext()
            Next
        End If

I want to disiplay only values in combobox but we have to pass another parameter while adding to combobox as description

ineed only values how it is possible

By

Firos