﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Can I use a BO to search for records in the browse dialgue</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 07 May 2026 06:21:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Can I use a BO to search for records in the browse dialgue</title><link>http://forum.strataframe.net/FindPost19583.aspx</link><description>Thanks for sharing that with us...it is always nice to hear success stories! :)</description><pubDate>Mon, 22 Sep 2008 09:19:14 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Can I use a BO to search for records in the browse dialgue</title><link>http://forum.strataframe.net/FindPost19563.aspx</link><description>Here is what I am trying to to.&lt;/P&gt;&lt;P&gt;I have plans that belong to clients. The clients have relationship managers, analysts and administrators. I would like to be able to search for plans by client relationship manager, analyst or administrator. I would then like to come back and have my plans business object populated with the oines that were selected in the browse dialogue.&lt;/P&gt;&lt;P&gt;Can someone please point me in the right direction so that I can get this done?&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;&lt;P&gt;Marcia</description><pubDate>Mon, 22 Sep 2008 09:19:14 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: Can I use a BO to search for records in the browse dialgue</title><link>http://forum.strataframe.net/FindPost19582.aspx</link><description>[quote][b]Dustin Taylor (09/22/2008)[/b][hr]Howdy Marcia :),&lt;P&gt;You can actually still use the CopyDataFrom method between BOs of the same type even if you have extended fields and properties on one BO but not the other. Just be sure to use one of the ClearAndFill copy types when you call the method (if you do an append but the field structure doesn't match it will throw an error.) The target BO will have any extended fields that were included in the source BO, but those fields don't have to be exposed through extended properties if that isn't needed or desired.[/quote]&lt;P&gt;Hi Dustin.&lt;P&gt;Thanks so much for the response. I figured that there had to be a way to do this because it must be a common requirement in a fully normalized database, but the documentation was not real explicit about how ;)&lt;P&gt;BTW, I really love what you guys have done. It has made cranking out this application a breeze. We were hired to do a re-write of an application that was a real mess and in less than 3 weeks I have almost duplicated the functionality in their current app and it took the previous programmer a year to give them what they are now using.</description><pubDate>Mon, 22 Sep 2008 09:16:29 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: Can I use a BO to search for records in the browse dialgue</title><link>http://forum.strataframe.net/FindPost19578.aspx</link><description>Howdy Marcia :),&lt;/P&gt;&lt;P&gt;You can actually still use the CopyDataFrom method between BOs of the same type even if you have extended fields and properties on one BO but not the other. Just be sure to use one of the ClearAndFill copy types when you call the method (if you do an append but the field structure doesn't match it will throw an error.) The target BO will have any extended fields that were included in the source BO, but those fields don't have to be exposed through extended properties if that isn't needed or desired.</description><pubDate>Mon, 22 Sep 2008 09:04:17 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Can I use a BO to search for records in the browse dialgue</title><link>http://forum.strataframe.net/FindPost19575.aspx</link><description>[quote][b]Ivan George Borges (09/20/2008)[/b][hr]Hi Marcia.&lt;P&gt;But the thing is, a Browse Dialog will need a BO type and a BO instance of that type to populate. Once you get back from the BD, your can do whatever you want with that BO populated. You can filter it on some condition and use the SomeBO.CopyDataFrom to get the filtered records from the BO populated by the BD, for example.&lt;/P&gt;&lt;P&gt;[/quote]&lt;P&gt;Hi Ivan. &lt;P&gt;Thanks so much for getting back to me so quickly.&lt;P&gt;I read the documentation on the CopyDataFrom method, but it looked like the 2 business object needed to have the same structure. My problem is that they don't because I want the "searching" BO to be the result of a join between 3 tables and the primary BO in the form to be only one of them. Is there a way that I can use the CopyDataFrom method when the structure of the 2 BO's is not the same?</description><pubDate>Sun, 21 Sep 2008 08:40:32 GMT</pubDate><dc:creator>Marcia G Akins</dc:creator></item><item><title>RE: Can I use a BO to search for records in the browse dialgue</title><link>http://forum.strataframe.net/FindPost19566.aspx</link><description>Hi Marcia.&lt;/P&gt;&lt;P&gt;Sorry, I'm almost nuts with some coding myself over here, and didn't really get what you are trying to do... :crazy:&lt;/P&gt;&lt;P&gt;But the thing is, a Browse Dialog will need a BO type and a BO instance of that type to populate. Once you get back from the BD, your can do whatever you want with that BO populated. You can filter it on some condition and use the SomeBO.CopyDataFrom to get the filtered records from the BO populated by the BD, for example.&lt;/P&gt;&lt;P&gt;Sorry if this has nothing to do with what you need. :D</description><pubDate>Sat, 20 Sep 2008 14:19:35 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>