on 02-19-2009 11:32 PM
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?
Ojo para todos los desarrolladores, este Error me daba por que no habia hecho un Trim() del valor del combobox, si se topan coin este problema ya saben ..
SAludos..
Cualquier duda me preguntan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.