General information
Category:
The Mere Mortals Framework
Jason,
I did some testing and your solution works. Thank you!
Let me ask you a final question regarding this and see if is posible to further improve it in an alternative way:
Instead of using YourBizObj.HasUserChanges()is it posible to use the SETUNMODIFIED() data access method when the BO is just created so from then on it will behave as no default value was ever present?
If so, where should it be called from?
Regards,
Roberto
>Roberto,
>First, I would add a method to the BizObj that checks if the field in question is the only one changed.
>Then add code to the forms checking that method. In your NoListMaintForm, that would be the Close() method:
>*This assumes you don't want to save unless the user has made changes.
>IF !YourBizObj.HasUserChanges()
> YourBizObj.Cancel()
>ENDIF
>RETURN DODEFAULT()
>I'm not sure where you're getting this message in the Find Form, but you would do something similar there...
>Hope that makes sense,
>---J
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only