Skip to Content
0
Former Member
Feb 19, 2009 at 11:32 PM

COMBOBOX Error: "Object reference not set to an instance of an object."

68 Views

Buenos dias, a todos tengo un problema con SAP talvez me puedan ayudar:

Hi, everybody i have a problem with SAP, maybe y can help me:

yo he creado un Combobox(SAPbouiCOM.ComboBox), que utiliza un oDBDataSource direccionado a un tabla de usuario del tipo con el nombre "@SUCURSALES", y pues el combo me muestra la información correctamente, pero cuando capturo el evento "et_COMBO_SELECT" para ese combo, pues utilizo "combo.Selected.value", y me devuelve el siguiente error: "Object reference not set to an instance of an object." y mi formulario si esta instanciado al igual que el combo, me podrian por favor dar una pista de lo que podria estar pasando??

I created a Combobox(SAPbouiCOM.ComboBox) this Combobox use a oDBDataSource from a custom table named ("@SUCURSALES"), and the combobox show the information good, but when i Catch the combo event with the method "et_COMBO_SELECT" , i use "combo.Selected.value" command, i obtain the next error message "Object reference not set to an instance of an object.", what is wrong?