StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Browse Dialog QuestionExpand / Collapse
Author
Message
Posted 02/19/2008 1:00:52 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 08/18/2008 11:47:34 AM
Posts: 307, Visits: 1,223
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

Post #14443
Posted 02/19/2008 1:40:06 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 9:23:48 AM
Posts: 4,366, Visits: 4,392
Give it the instance and then use the CopyDataFrom method on the BO. 

MyBo.CopyDataFrom(MyOtherBo, BusinessCloneType.ClearAndFillFromDefaultView)
Post #14445
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 4:49pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.