cancel
Showing results for 
Search instead for 
Did you mean: 

Combo Boxes....again but straight answer required.

Former Member
0 Kudos

Okay so the follwing code:

oItem = oForm.Items.Add("oCombo2", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)

With oItem

.Height = oXPlaneItem.Height

.Width = oYPlaneItem.Width

.Left = oYPlaneItem.Left

.Top = oXPlaneItem.Top

.DisplayDesc = True

End With

oCombo = oItem.Specific

oCombo.DataBind.SetBound(True, "", "U_Status")

oCombo.ValidValues.Add("1", "Live")

oCombo.ValidValues.Add("2", "Got")

oCombo.ValidValues.Add("3", "Lost")

oCombo.ValidValues.Add("4", "Didn't happen")

Results in a combo box that once selected shows the description only - GREAT!

BUT...... when selecting from the combo box the lists shows VALUE - DESCRIPTION (i.e. 1 - Live), Can this be changed to just show the description.

Apologies if this is answered in another post but I was looking for ages and the difference between selected and combo box selection descriptions was never dictated.

Dave A.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Its not possible to show only the description.

Vasu Natari.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thankyou! I can tell that to the big man upstairs with confidence now.......