Hi All,
I am trying following code, but in this code error is " Reference to a non-shared member requires an object reference." on the line DBDataSource.SetValue("U_CustName", DBDataSource.Offset, Datatable.GetValue(14, 0))
Can anybody tell how to add reference and which and what i want to declared for that.
Dim CFLevents As SAPbouiCOM.ChooseFromListEvent = pVal
Dim CFLList As SAPbouiCOM.ChooseFromList
Dim StrUID As String = CFLevents.ChooseFromListUID
Dim Datatable As SAPbouiCOM.DataTable = CFLevents.SelectedObjects
CFLList = form.ChooseFromLists.Item(StrUID)
If Not (Datatable Is Nothing) Then
If CFLList.UniqueID = "CFL_2" Then
DBDataSource.SetValue("U_CustName", DBDataSource.Offset, Datatable.GetValue(14, 0))
End If
End If