My framework has a data entry status property for each form. When the form displays, the status is "NONE". If the user changes some data, code in the InteractiveChange event changes the status to "EDIT" and enables the Save button on the toolbar and the Save menu option.
>I have a pageframe. In each pages I have to detect when a change has been made in one of the field on that page. I'll then update the "Date of the last change" field.
>
>My question : What would be the best way to detect if a field was changed.
>
>I'm thinking of first gather the values when I get in the page and then gather again when user leaves the page. If a change is detected then I update the date.
>
>Am I on the right track or is there a better way to do this?
>
>Is there a function (native) in VFP to compare values for the result of the two gather? Otherwise what do you suggest as the most efficient way to do this?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer