﻿<?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?)  » Browse Dialog OrderBy descending?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 08 Jul 2026 17:40:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Browse Dialog OrderBy descending?</title><link>http://forum.strataframe.net/FindPost15329.aspx</link><description>In a spot where I'm using a Browse Dialog and had the OrderBy property set to a field (and that was working fine) I realized I really need to sort it by that field descending but if I just change OrderBy from "myfield" to "myfield desc" I get the error "Invalid column name 'myfield desc'."&lt;br&gt;
&lt;br&gt;
Is there any way to do what I described just using the properties?&lt;br&gt;
&lt;br&gt;
Looks like the BrowseDialog ignores the Order By in the Buisiness object's Fill too but I kind of expected that since it looks like the BrowseDialog dynamically builds it's own Select.</description><pubDate>Wed, 02 Apr 2008 13:32:04 GMT</pubDate><dc:creator>rfrenken</dc:creator></item><item><title>RE: Browse Dialog OrderBy descending?</title><link>http://forum.strataframe.net/FindPost15338.aspx</link><description>Don't use the order by property.&amp;nbsp; Open up the&amp;nbsp;BrowseResultsLayout collection and select the field on which you want to sort.&amp;nbsp; You can have the field sort ascending or decesending or just be left alone.&amp;nbsp; You will only want to set this on one of the columns.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/81790a73-aaf6-42ba-8c93-3abc.png"&gt;</description><pubDate>Wed, 02 Apr 2008 13:32:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>