Skip to Content

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

Testing for no selection of combo box - mandatory combo

What si the best way to see if a combo box has not been selected when it does not have a default value?

if (ocombo.Selected.Value="")




some solutions

in c#

if (((SAPbouiCOM.ComboBox)(oForm.Items.Item("cmbUID").Specific)).Selected != null) {

in vb6

if (NOT(oForm.Items.Item("cmbUID").Specific.Selected is nothing)) then

you can also try

if( oCombobox.Selected is null)

lg David

0 View this answer in context

Helpful Answer

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