>You could do:
>
>....
>lcState = GETFLDSTATE(-1, thisform.aDE[m.lnI])
>llChanged = not ISNULL(m.lcState) or 2 $ m.lcState or 4 $ m.lcState
>ASSERT NOT llChanged
>....
>
>After your application stops check the value of lcState and see WHAT field is changed. Then you could check WHERE you changed the value of the field (ot the control bound to that field). Keep in mind that even you replace the same value in the field GETFLDSTATE() will return that the field is changed.
Hi Borislav,
I already did check the lcState and found out that Status and DStatus fields are changed in Building. Also it looks like not the current record was changed, but some other record. But finding out where these fields were changed I'm unable to. As I said, almost every textbox has a valid method affecting these fields. Also I think I tried to move focus on the textbox which doesn't have a valid method, then press Save, and in this case I didn't get the question. So, one more thing to try would be to remove the valid method from the first textbox completely and see if the question is still asked. I think I haven't tried that yet.
If it's not broken, fix it until it is.
My Blog