Skip to Content
0
Former Member
May 26, 2010 at 08:44 PM

Matrix and UserDataSource

107 Views

When i'm trying to update a matrix cell value (from a UserDataSource connected Column), the entire column rows are being populated by that value, and not just the cell (plus, it copies the last line to the new one in some columns).

that's my code:

oMatrix.GetLineData(pVal.Row);
                oForm.DataSources.UserDataSources.Item("Column06").Value = "10";
                oMatrix.SetLineData(pVal.Row);

I must use the DataSource object to update the value, since i use also DBDataSource in the matrix, and whenever i use LoadFromDataSource method, the cell info is lost (if was assigned through EditText object). is there any better/currect way to work with the UserDataSource for better resaults?

Rob