Skip to Content
0
Former Member
Jan 13, 2004 at 07:31 PM

Matrix: hidden fields & writing

45 Views

Hello all!

Finally I managed to write into a matrix using something like this:

MyForm = application.forms.item(<myform149>)

MyMatrix=myform.items.item("38").specific

MyColumn=MyMatrix.Columns.item("U_MyCol")

FirstCell=MyColumn.Cells.item(1)

MyCell.specific.String="TestValue"

This raised another question concerning the matrix object.

I noticed that it is only possible to write into the cell of a matrix if it is both visible and active.

However, this means that the user can access the field as well.

Is there a known way of setting the corresponding dbdatasource field directly?

Thanks Lutz Morrien