Skip to Content

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

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"


Hi Pankaj

Then Check is EditText1 is referencing any item or not.

Make sure that the table name you gave(@VALUE0) exists in your database and the column name U_cl exists in that table.These are Case Sensitive here in the Quotes



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