Hi,

How can I check wheter a field is modified?
The question looks rather simple, but this is the case:

Extended datatype: edtTest
edtTest has three array elements:
- level 1
- level 2
- level 3

The edtTest is used in a testtable.

Now, it is possible to override the modifiedField() method.
Within that method it is possible to do something like this:
//if (_fieldId == fieldNum(testtable, edtTest))
//{
//    info(strFmt("First: %1, Second: %2, Third: %3", this.edtTest[1],
this.edtTest[2], this.edtTest[3]));
//}

If you check this, you will notice that the info will never be shown.
Not that strange as it is not the parent edtTest that changes, but one
of it's sub elements. The question is, how can I catch a change of one
of it's array elements?

NB fieldNum(testtable, edtTest[1]) does not work.

Any thoughts?

/b







SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to