StrataFrame Forum

Two business objects on one form

http://forum.strataframe.net/Topic15272.aspx

By Ross L. Rooker, Sr. - 4/1/2008

If I have a form with a primary business object that drives the form in terms of the navigation tool bar. There is a secondary table (second business object) with a one to one relationship of data that the user wants to see at the same time on the form. Naturally when they click on EDIT they want to be able to modify data from both business objects then click on SAVE.

It appears as though I would need to manually enable/disable the secondary business object columns displayed as well as call the SAVE or UNDO methods for the second business object. Do you have a sample that demonstrates this, or could you point me in a direction?

Thanks

Ross

By Trent L. Taylor - 4/1/2008

No.  You want to use the IncludeInXXX properties.  Select the form and go to the IncludeInFormXXX properties.  There will be an option for add, save, edit, undo, delete, and navigate.  Choose an option here, let's say DeterminedByBusinessObject.  Then select the BO in question and set its IncludeInFormXXX property.  There are a lot of other posts out here about this and the documentation goes over this as well, but this should get you going in the right direction.
By Ross L. Rooker, Sr. - 4/1/2008

Thanks again. Strataframe is amazing. So is the support.

ross

By Trent L. Taylor - 4/1/2008

Thanks!  We always like to hear that! Smile