﻿<?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?)  » BrowseDialog with Custom Fields in BO</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 08:51:13 GMT</lastBuildDate><ttl>20</ttl><item><title>BrowseDialog with Custom Fields in BO</title><link>http://forum.strataframe.net/FindPost10958.aspx</link><description>My latest weird problem involves a Browse Dialog.  We have a Customer Table / BO that simply has a name id.  I need to allow the user to search on customer name or Customer number (actually in the table/BO).  To do this I created a custom fields of customer name that I populate in the BO.  This works great under normal circumstances, but when I try to search on this fields, I obviously get a key error since it cannot create a where clause.  Does anyone know a way around this?</description><pubDate>Tue, 21 Aug 2007 15:33:16 GMT</pubDate><dc:creator>Scott Hershberger</dc:creator></item><item><title>RE: BrowseDialog with Custom Fields in BO</title><link>http://forum.strataframe.net/FindPost10977.aspx</link><description>I think that a view is the best option. &lt;br&gt;
&lt;br&gt;
Thanks for your help!</description><pubDate>Tue, 21 Aug 2007 15:33:16 GMT</pubDate><dc:creator>Scott Hershberger</dc:creator></item><item><title>RE: BrowseDialog with Custom Fields in BO</title><link>http://forum.strataframe.net/FindPost10972.aspx</link><description>Using your example, the Customer_Name is a custom property which, I am guessing, concatinates several fields together.&amp;nbsp; So your browse could not pull from this property since this does not represent an actual field name.&lt;/P&gt;&lt;P&gt;What is the code behind Customer_Name field?&amp;nbsp; As for a view, this would be another option.</description><pubDate>Tue, 21 Aug 2007 14:00:52 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog with Custom Fields in BO</title><link>http://forum.strataframe.net/FindPost10971.aspx</link><description>Let's see if I can clear it up... Here's a simplified example&lt;br&gt;
&lt;br&gt;
Customer                 Customer_Detail&lt;br&gt;
---------                 ----------------&lt;br&gt;
CustomerID              CustomerName&lt;br&gt;
Customer No            CustomerID&lt;br&gt;
&lt;br&gt;
I create a CustomerBO.  In that BO I create a Custom Field "Customer_Name".  I then fill this with a query.  &lt;br&gt;
&lt;br&gt;
I now need to use the CustomerBO in a Browse Dialog with a search possible on Customer No and Customer Name.  &lt;br&gt;
&lt;br&gt;
I'm not sure this can be done.  I think I will try a view next.</description><pubDate>Tue, 21 Aug 2007 11:53:13 GMT</pubDate><dc:creator>Scott Hershberger</dc:creator></item><item><title>RE: BrowseDialog with Custom Fields in BO</title><link>http://forum.strataframe.net/FindPost10967.aspx</link><description>[quote]Does anyone know a way around this? [/quote]&lt;/P&gt;&lt;P&gt;Any field that you want to search on MUST exist in the database since a query is dynamically created.&amp;nbsp; So in this case a custom property will not work.&amp;nbsp; I am not clear on what you are trying to accomplish.&amp;nbsp; You might give me some more details.&amp;nbsp; Thanks. :)</description><pubDate>Tue, 21 Aug 2007 11:18:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>