on 03-31-2009 3:47 AM
Hi all
i want to set a value in a system matrix.but when matrix contains more row its become deadly slow
my code is below
for (int i = 1; i < oMatrix.RowCount;i++)
{
oItemText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("1").Cells.Item(i).Specific;
oStockText = (SAPbouiCOM.EditText)oMatrix.Columns.Item("5").Cells.Item(i).Specific;
string cellCode = oItemText.Value;
if (cellCode == itemCode)
{
oStockText.Value = "1";
break;
}
}
is any one have solution pls reply
thanks
Hello Muna,
Theres a couple of things you can check first to make sure you are maximising performance.
You can find all the tips in the document in the following link:
You should implement these tips to see if performance improves.
Also another thing to check is if Formatted Searches are defined on the matrix. If they are then remove them and test again to see if this improves performance.
Cheers,
Lisa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.