on 05-19-2011 3:45 AM
I wanna change DataTable to DBDataSource Is it possible?
Here are example.
Dim DataTable01 As SAPbouiCOM.DataTable
Set DataTable01 = oForm.DataSources.DataTables("DataTable")
DataTable01.ExecuteQuery ("SELECT ItemCode,ItemName FROM OITM")
Call oMat1.Columns("ItemCode").DataBind.Bind("DataTable", "ItemCode")
Call oMat1.Columns("ItemName").DataBind.Bind("DataTable", "ItemName")
oMat1.LoadFromDataSource
in here, Data is loaded
field of itemcode is binded datatable but i wanna change to dbdatasource becaseof udo
so i tried this code
Call oMat1.Columns("ItemCode").DataBind.SetBound(True, "OITM", "ItemCode")
Call oMat1.Columns("ItemCode").DataBind.SetBound(True, "OITM", "ItemName")
but there are error "Matrix - Line Exist"
is'nt is possible?
Hi,
Its not possible.
Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
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.