Cancoon2000
4th December 2006, 18:52
Hello all,

I have a question, in a Type 3 Form (Multi-Occ) how I could check if the multi-occ table field on the form has been modified. Based on that I will need to add my action in.

Thank you for your feedback.

NPRao
4th December 2006, 20:15
Refer to the predefined variable -
boolean attr.changed 4R Indicates if the current field has changed.

Cancoon2000
4th December 2006, 21:19
Thank you very much for the feedback NAPRao. I do not know why the IF condition is not working. Alternatively instead of using "after.input" I used "when.field.changes" and this worked also for me.

If you do not mind NAPRao tell me what is wrong in my script in case I or any one need it in future.

field.ticst002.qcrs:
after.input:
do.occ(actual.occ, update.rec)
....

function void update.rec()
{
if attr.changed then
|variables setup
........
........
update.occ()
endif
}