Skip to Content
Former Member
Nov 06, 2007 at 10:15 AM

error - object reference is not sent to instance of object


Hi All

i made a form using code , in this form has a one static field nd one edit text field , nd ok , cancel btn, i want to bind this field to usertable @valueo, i using this code for binding,


oEditText = ((SAPbouiCOM.EditText)(oItem.Specific));

// bind the text edit item to the defined used data source

oDBDataSource2 = oForm.DataSources.DBDataSources.Add ("@VALUE0");

oEditText.DataBind.SetBound(true, "", "EditSource");

oEditText1.DataBind.SetBound(true, "@VALUE0", "U_cl");

so that in this code i have facing a error "Object Reference is not to sent of object"