You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

FieldChange Problem

5 replies [Last post]
Guest's picture
Guest

I changed a field value in peoplecode.But the fieldchange event in this field do not triggered.
How to forcibly trigger the fieldchange peoplecode in this field.
Thanks~
Ruifeng

Lepa's picture
User offline. Last seen 2 years 20 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: FieldChange Problem

Make sure the "Allowed Differed Processing" check box is unchecked on both the page field properties and on page properties.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

pd's picture
pd (not verified)
Re: FieldChange Problem

"Allowed Differed Processing" check box should be unchecked at page field properties. That should trigger the Field change code once you tab out of the field or press "Enter".

Ruifeng's picture
Ruifeng (not verified)
Re: FieldChange Problem

Thanks for your reply.
For instance,in Record.tt.f1.fieldchange I changed the value of Record.tt.f2's value.But the Record.tt.f2.fieldchange event can't trigger.How to trigger the fieldchange event in Record.tt.f2?

Ashar's picture
User offline. Last seen 5 years 1 week ago. Offline
Joined: 03/26/2008
Posts: 227
Re: FieldChange Problem

If you change the value of a field from PeopleCode, it wouldn't trigger the FieldChange event for the field being changed. You would have to either copy the same piece of code into f1's FieldChange or wrap the code in f2's fieldchange into a function and call the function in f1's field change.

Ruifeng's picture
Ruifeng (not verified)
Re: FieldChange Problem

Hi,Ashar.Thanks for your reply.