Thanks for the idea, Pamela. Just two more things:
I've seen that the first object of the form's oRefBizObj collection is the Primary BizObj. Can I supose it will be allways this way? So I can ask the following objects of the collection if their .cParentBizObj is equal to Thisform.oBizObj.cRegistryLabel.
Are there other ways of calling .New, .Delete, etc. methods of the Child bizobj that accomplish better the filosophy of the CB framework?
I've read someone's method about changing the bizobj.lPrimaryBizObj. What about it?
Thanks anyway
<i><font color="#663300">I wouldn't couple a button and a business object this way. May I suggest that you create a custom form method, say NewChild and have the button call that method in its Click event. The form's method can then access its own oRefBizObj collection to call the New method.</font></i>
</font></i>
Miquel Angel Guerrero maguerrero /AT/ kernelicsa .DO.T com
©2002 Miquel Angel Guerrero |