﻿<?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 » WinForms (How do I?)  » BrowseDialog - Adding a WHERE clause</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 02 May 2026 11:52:27 GMT</lastBuildDate><ttl>20</ttl><item><title>BrowseDialog - Adding a WHERE clause</title><link>http://forum.strataframe.net/FindPost22906.aspx</link><description>Hi,&lt;br&gt;
&lt;br&gt;
I know you can add a custom WHERE clause in a BrowseDialog's Searching event when you know the specific values, ie.&lt;br&gt;
&lt;br&gt;
WHERE my_Car IN (0,1,2)&lt;br&gt;
&lt;br&gt;
But can you do this?&lt;br&gt;
&lt;br&gt;
WHERE my_Car IN (SELECT carid FROM myCars)&lt;br&gt;
&lt;br&gt;
Is this possible?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
Aaron</description><pubDate>Wed, 29 Apr 2009 09:43:58 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: BrowseDialog - Adding a WHERE clause</title><link>http://forum.strataframe.net/FindPost22939.aspx</link><description>Yup.&amp;nbsp; In the most recent version of the BrowseDialog in the latest update, you can go at this two different ways.&amp;nbsp; There are two new properties called OverrideSearchTableName and OverrideSearchTableSchema which allows an alternate table or view to be used instead of the underlying BO table name.&amp;nbsp; This allows you to get as flexible as you would like.&amp;nbsp; You can also create place holders for inline queries, which is a bit more involved and is really intended for the purposes of the return columns.&amp;nbsp; But I would take the view approach as it is the most simple to implement.</description><pubDate>Wed, 29 Apr 2009 09:43:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>