On May 11, 2009, at 12:41 PM, <[email protected]>  
<[email protected]> wrote:

> So my questions are...
> 1) If there is a reference to a bizobj on another other form and it  
> was
> instantiated on the form that we are trying to close, wouldn't it  
> break the
> other form when the reference to it goes away?

        Both would have a reference, if both were using the bizobj. Unless  
you explicitly destroyed the bizobj (the framework doesn't), the  
bizobj is still around.

> 2) If the bizobj was passed to the form we are trying to close as a
> reference from another obj (i.e. form), should closing the form undo  
> any
> changes to the bizobj eventhough changes to the bizobj may have been  
> made on
> the bizobj's parent form (i.e. not the one we are trying to close)?   
> My
> point here being, the bizobj does not know where the changes come  
> from, so
> is it correct to force undoing any changes?

        That's a potential problem, but for the rare cases where that  
happens, one could save a copy of the dataset and restore it. I think  
the true problem in this case is a form that edits a bizobj and then  
creates a second form that can edit the bizobj.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to