General information
Category:
The Mere Mortals Framework
Title:
One to many with Optimistic Table Buffering
I'm using parent-child relationship (one to many) between two business objects in a cBizObjForm class based form (no page frames).
The child business object works under buffer mode 5 (Table optimistic) in order to be prepared for displaying some extra needed data, which is replaced accordingly.
When I execute a New operation (parent is the primary business object), I'm asked if I want to save changes first, because of the changed fields into the child business object.
I'd like to hear opinions about the best way (framework way) to handle this. After checking the documentation, I've found that there is a lCascadeMessages properties that seems to be the one to provide a way around it. However I do not know if this could change the default expected behavior like "requery child when parent changes" or "save child on save parent", etc.
I'm also thinking on using the SetFldState function in order to make the Ischanged() function return a .F. reply, but it does not seems to me as the best way to accomplish it the right way.
Any hints are welcome.
Thanks in advance and regards
Oscar Corte
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