cancel
Showing results for 
Search instead for 
Did you mean: 

Avoid Combobox description

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi firos,

since i was working since SAP Business One 2004 Version onwards,

i think as per my knowledge, it is not possible.

Can any one help on this.

Regards

shiva

Former Member
0 Kudos

thaxalot

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi firos,

SDK has not exposed this functionality , as we can see with the system ComboBox.

at any how we need to provide both the values ( i mean value and description columns in the ComboBox) otheriwse system will throw an Error.

Regards

shiva

Former Member
0 Kudos

thanx 4 ur reply

i think it is possible...

Ru sure?

By

Firos