Skip to Content
0
Former Member
Mar 23, 2009 at 09:33 AM

Filtering data Table or record set

1288 Views

i want to make a report and now i use datatable

Private dt As SAPbouiCOM.DataTable

dt = oForm.DataSources.DataTables.Add("dt")

dt.ExecuteQuery("SELECT U_WC_ID,U_DESC,U_EXTERNAL,U_VENDOR FROM [@ST_WC] ORDER BY U_WC_ID")

grid = oForm.Items.Item("grid").Specific

grid.DataTable = dt

and how to filter a datatable using sbouicom.datatable like in .net --> similar to 'select' method on .net data table

thanks