﻿<?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?)  » Filtering Records that a Browse Dialog Returns</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 16:01:12 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Filtering Records that a Browse Dialog Returns</title><link>http://forum.strataframe.net/FindPost31435.aspx</link><description>Glad it worked! &lt;span&gt;:cool:&lt;/span&gt;</description><pubDate>Wed, 12 Sep 2012 15:58:11 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>Filtering Records that a Browse Dialog Returns</title><link>http://forum.strataframe.net/FindPost489.aspx</link><description>Is there a way to have the browse dialog filter the records that it returns other then by what the user enters into the dialog itself?&amp;nbsp;I guess what I am looking for is a way to add to the 'where' clause of the browse dialoge's business object.&amp;nbsp; We have two tables, table 1 is the main table and table 2 is a child table.&amp;nbsp; We want to allow the user to ONLY browse for records in the first table that have child records in table 2.&lt;/P&gt;&lt;P&gt;One last thing,&amp;nbsp; we are getting ready to release our first StrataFrame application.&amp;nbsp; It is VERY small and only for internal use, but it is a start.&amp;nbsp; We just have a couple of loose ends and have to figure out how to use the Database Deployment Kit.&amp;nbsp; Any idea when the docs will be done for it?&lt;/P&gt;&lt;P&gt;Just want to let you know all your hard work is paying off.... for everyone.&amp;nbsp; Thanks for StrataFrame and all the HELP!&lt;/P&gt;&lt;P&gt;Scott</description><pubDate>Wed, 12 Sep 2012 15:58:11 GMT</pubDate><dc:creator>Scott</dc:creator></item><item><title>RE: Filtering Records that a Browse Dialog Returns</title><link>http://forum.strataframe.net/FindPost31434.aspx</link><description>I followed the following sample and it did work for me.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;pre&gt;Private Sub BrowseDialog1_Searching(ByVal sender As Object, ByVal e As BrowseDialogSearchingEventArgs) Handles BrowseDialog1.Searching        '-- Establish Locals        Dim where As WhereStatement        Dim myFruit As New System.Collections.ArrayList()        '-- Determine which values will be included as part of the "IN" tag        If _AllowApples Then myFruit.Add(CType(Fruit.Apples, Integer))        If _AllowOranges Then myFruit.Add(CType(Fruit.Oranges, Integer))        If _AllowPears Then myFruit.Add(CType(Fruit.Pears, Integer))        '-- Create the where statement.  In this example, we are going to have the test perform        '   an IN which will allow us to perform a query that includes all of the values in the myFruit        '   array.  my_Fruit is the field in the database.  So this where clause would look like this        '   in T-SQL  "SELECT ... WHERE my_Fruit IN (0,1,2) ..."        where = New WhereStatement(New String() {"my_Fruit"}, myFruit, WhereStatementTypeOptions.In)        '-- Add the where statement to the collection        e.RawWhereStatementsCollection.Add(where)End Sub&lt;/pre&gt;</description><pubDate>Wed, 12 Sep 2012 15:04:00 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: Filtering Records that a Browse Dialog Returns</title><link>http://forum.strataframe.net/FindPost31433.aspx</link><description>Hi Danny.&lt;br/&gt;&lt;br/&gt;Have a look at the help file under "Application Framework" -&amp;gt; "UI Layer" -&amp;gt; "Controls" -&amp;gt; "Browse Dialog" -&amp;gt; "Events", and check the "BeforeSearchExecuted" and the "Searching" events, where you can manipulate how the search will behave right before it happens.</description><pubDate>Mon, 10 Sep 2012 07:16:46 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Filtering Records that a Browse Dialog Returns</title><link>http://forum.strataframe.net/FindPost31432.aspx</link><description>Any udates on this?</description><pubDate>Sat, 08 Sep 2012 08:52:10 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: Filtering Records that a Browse Dialog Returns</title><link>http://forum.strataframe.net/FindPost491.aspx</link><description>At the moment, no, there is not a way filter the records within the browse dialog, but this has been a pending enhancement request, and since you're not the first or last person to ask for it ([url]http://forum.strataframe.net/Topic463-6-1.aspx[/url]), we'll probably be adding it sometime soon (within the next week or so).  &lt;br&gt;
&lt;br&gt;
As for the Database Deployment Toolkit documentation... I'm not sure on the timeframe, but it's at the top of our list as well.</description><pubDate>Fri, 27 Jan 2006 08:50:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>