on 05-29-2008 7:37 AM
SAPbouiCOM.Conditions oConds = new SAPbouiCOM.Conditions();
SAPbouiCOM.Condition oCond;
can i write ORDER BY Query using the 'SAPbouiCOM.Condition'
If any one know pleas e reply
Hi,
there's still no way to sort a condition.
the condition object has still no property for this included.
regards
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mona,
here's a c# sample:
oForm.DataSources.DataTables.Add("OPRJ");
oForm.DataSources.DataTables.Item("OPRJ").ExecuteQuery("SELECT PrjCode, PrjName FROM OPRJ ORDER BY PrjCode");
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).Columns.Item("1").DataBind.Bind("OPRJ", "PrjCode");
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).Columns.Item("3").DataBind.Bind("OPRJ", "PrjName");
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).Clear();
((SAPbouiCOM.Matrix)(oForm.Items.Item("mtxList").Specific)).LoadFromDataSource();
lg David
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.