﻿<?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 SELECT TOP</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 16 Sep 2026 17:54:21 GMT</lastBuildDate><ttl>20</ttl><item><title>BrowseDialog SELECT TOP</title><link>http://forum.strataframe.net/FindPost22145.aspx</link><description>I would like to know if there is an easy way to make the browse dialog not issue the TOP command for the select as it relates to the MaximumReturnedRecords property. I am using SQL CE with a SQLCE DataSourceItem I wrote many months ago, it has been working fine with the framework in a very simple application that has not until now needed a browse dialog. SQLCE does not yet support the TOP command and I am looking for a workaround without having to delve back into&amp;nbsp;my CE&amp;nbsp;datasourceitem too deep.&lt;/P&gt;&lt;P&gt;If the answer is yes, do this, then thanks :)&lt;/P&gt;&lt;P&gt;If the answer is that&amp;nbsp;I have to do this myself, where is the SQL SELECT created for the browse? Does it use the datasourceitem? I see a option to add the TOP command in BuildSelectCommand but have not investigated if that is it.... since I really dont want to if i dont have to.&lt;/P&gt;&lt;P&gt;SELECT &lt;STRONG&gt;TOP 100&lt;/STRONG&gt; [scans_pk], [scans_rv], [scans_scandt], [scans_scanpath], [scans_scanuser], [scans_tags] FROM scans WHERE scans_tags LIKE 'JONES%'&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Tue, 03 Mar 2009 13:22:42 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: BrowseDialog SELECT TOP</title><link>http://forum.strataframe.net/FindPost22163.aspx</link><description>Cool :cool:</description><pubDate>Tue, 03 Mar 2009 13:22:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: BrowseDialog SELECT TOP</title><link>http://forum.strataframe.net/FindPost22162.aspx</link><description>Worked great, thanks Trent.</description><pubDate>Tue, 03 Mar 2009 12:33:58 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: BrowseDialog SELECT TOP</title><link>http://forum.strataframe.net/FindPost22154.aspx</link><description>Awesome thanks, I was pretty sure that was it.</description><pubDate>Tue, 03 Mar 2009 09:22:50 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: BrowseDialog SELECT TOP</title><link>http://forum.strataframe.net/FindPost22148.aspx</link><description>Really all you would need to do is within your data source, in the BuildSelectCommand, in the QueryInfo.QueryType is SELECT_TOP, just ignore this and take another action.&amp;nbsp; That would be the only place that you would need to change this.&amp;nbsp; The BrowseDialog uses the QueryInformation class for all query requests, so it should make changing this farily simple and straight forward.</description><pubDate>Tue, 03 Mar 2009 07:49:45 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>