Skip to Content
0
Former Member
Nov 14, 2008 at 11:13 AM

Datasource set value Problem

240 Views

hi experts,

I am using the following line of code,

RS = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

RS.DoQuery("SELECT LineId,U_ItemCode,U_ItemName,U_ReqQty,U_UOM,U_DelDate FROM xyz")

dbdatasrc.InsertRecord(0)

dbdatasrc.SetValue("U_DelDate", 0, RS.Fields.Item("U_ReqQty").Value)

oMatrix1.AddRow()

oMatrix1.SetLineData(oMatrix1.RowCount)

but the value is not getting set in database nor the matrix.

Please Help