Skip to Content
0
Former Member
Sep 08, 2009 at 08:12 AM

Setting EditText value problem.

886 Views

Hi 😊

I try to set some values on matrix object using EditText string property.

I have this simple code

 ...
 Cell cell1 = matrix.Columns.Item("col_5").Cells.Item(pVal.Row);
 EditText editText1 = (EditText)cell1.Specific; 
 editText1.String = sTotal;
 
 Cell cell2 = matrix.Columns.Item("col_6").Cells.Item(pVal.Row);
 EditText editText2 = (EditText)cell2.Specific;
 editText2.String = sTotal1;
 ...

but when it reaches editText1.String = sTotal line it goes back to Cell cell1...

It goes then on and on unitl SAP crashes.

What is the problem?

Thanks in advance

Kamil