StrataFrame Forum

Browse Dialog Question

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

By Tim Dol - 2/19/2008

The browse dialog populates a business object based on the filter conditions. If the search returns 500 records and I select one of those records, the entire 500 records are available in my maintenance form.

What technique do you use to copy the business object data from the browse dialog to the business object on the form?  I have a similar situation where I have my filtered result set in a business object on a form. I need to launch a new program that provides additional functionality based on the same business object but I don't want to query the database again as I have all the necessary records.  What is the best way to move the data from a business object on one form to a business object on another form

Thanks

Tim

By Trent L. Taylor - 2/19/2008

Give it the instance and then use the CopyDataFrom method on the BO. 

MyBo.CopyDataFrom(MyOtherBo, BusinessCloneType.ClearAndFillFromDefaultView)