Why are you tieing data changes detection to the interface? AFAIK they should not know about each other. Though of course this approach can be used.
>I put code in the InteractiveChange event of form controls and set a form-level flag that indicates changes were made. The Save button is then enabled.
>
>>Is there a "best practice" for determining if any values in a buffered table/view have been changed, in an nTier VFP application, plus reasons for doing so; i.e.:
>>
>>1. Using GETFLDSTATE()
>>2. Using GETNEXTMODIFIED()
>>3. Setting a "dirtybuffer" flag.
>>4. ?
>>
>>Thanks,
>>Randy W.
If it's not broken, fix it until it is.
My Blog