Oscar,
>The problem is that some events like Refresh (triggered by activate), check if the business object has changed. MM uses the GetNextModified function in order to check for changes on a cursor with buffer mode 5, and this function funds out somehow that a record has been modified regardless of the field state been set to non-modified.
There is an "issue" with VFP where GETNEXTMODIFIED() ignores the fact that you've set a field to "unchanged". Probably the cleanest way around this is to override the business object's IsChanged() method. You could have it run the default code, and if DODEFAULT() returns True, do an additional check to see if the only fields that have changed are your custom fields.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com