>I have 3 business objects in page 2 of my page frame. When I edit the edit box which displays the value of one of the business objects and click the cmdokmaint button to save the changes, how can I direct the save command to the corresponding business object?
>
>Thanks a lot.
>
>Nerissa Dela Rosa
>McFadden's
You can call the form's SetPrimaryBizObj() with a reference to the bizobj (done before they click OK). You can also just override the OK button Click() code to call the appropriate bizobj's Save() method (for example, check each bizobjs.IsChanged() method and if it's changed, call Save()). Or, if there is supposed to be some sort of relationship between the bizobjs (parent/child) you can set these relationships in the bizobj builder and let the framework automatically call each of Save() methods.