Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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.

Former Member replied

Its not possible to show only the description.

Vasu Natari.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question