<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Report C&#111;ntrol Sorting dates....</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : Report C&#111;ntrol Sorting dates....]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 12:54:00 +0000</pubDate>
  <lastBuildDate>Wed, 23 Feb 2005 13:15:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=1097</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Report C&#111;ntrol Sorting dates.... : The ReportControl is now smart...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=5314&amp;title=report-control-sorting-dates#5314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1097<br /><strong>Posted:</strong> 23 February 2005 at 1:15pm<br /><br />The ReportControl is now smart enought to sort by date with no work arounds.]]>
   </description>
   <pubDate>Wed, 23 Feb 2005 13:15:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=5314&amp;title=report-control-sorting-dates#5314</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol Sorting dates.... : Another solution, which Maui found...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=2937&amp;title=report-control-sorting-dates#2937</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 1097<br /><strong>Posted:</strong> 02 September 2004 at 10:14am<br /><br /><P>Another solution, which Maui found (see <A href="https://forum.codejock.com/forum_posts.asp?TID=1119&amp;PN=1#2921" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=1119&amp; PN=1#2921</A>) is to set the Value to the date/number, then set the caption to the formatted value, which leaves the sortpriority free to be used as intended.</P><P>e.g. <table width="99%"><tr><td><pre class="BBcode">Item.Value = val<BR>If IsDate(Item.Value)<BR>&nbsp;&nbsp;&nbsp; Item.Caption = Format(val, "ddd dd/mm/yyyy")<BR>ElseIf IsNumeric(Item.Value)<BR>&nbsp;&nbsp;&nbsp; Item.Caption = Format(val, "#,##0.00")<BR>Else<BR>&nbsp;&nbsp;&nbsp; Item.Caption = Item.Value<BR>End if</pre></td></tr></table></P><span style="font-size:10px"><br /><br />Edited by ianp</span>]]>
   </description>
   <pubDate>Thu, 02 Sep 2004 10:14:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=2937&amp;title=report-control-sorting-dates#2937</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol Sorting dates.... : One solution I&amp;#039;ve found is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=2851&amp;title=report-control-sorting-dates#2851</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 1097<br /><strong>Posted:</strong> 22 August 2004 at 4:39am<br /><br /><P>One solution I've found is to populate the SortPriority with the numeric value of the date e.g.&nbsp;&nbsp;&nbsp; <table width="99%"><tr><td><pre class="BBcode">If IsDate(val)<BR>&nbsp;&nbsp;&nbsp; Item.Value = Format(val, "ddd dd/mm/yyyy")<BR>&nbsp;&nbsp;&nbsp; Item.SortPriority = val<BR>Else<BR>&nbsp;&nbsp;&nbsp; Item.Value = val<BR>End if</pre></td></tr></table><BR><BR>However, since the SortPriority is a Long, this method doesn't cater for the time portion of a date/time value!</P>]]>
   </description>
   <pubDate>Sun, 22 Aug 2004 04:39:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=2851&amp;title=report-control-sorting-dates#2851</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol Sorting dates.... : I have studing you reportcontrol...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=2850&amp;title=report-control-sorting-dates#2850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=567">Jens4</a><br /><strong>Subject:</strong> 1097<br /><strong>Posted:</strong> 21 August 2004 at 11:19am<br /><br /><P>I have studing you reportcontrol sample, but cant figure out how the control trying to sort the dates columns .... maybe it is because my windows use the date format dd-mm-yyyy (danish), that sample just does't sort the dates columns in a right way.... </P><P>anybody have a small small samples that can sort a date column correctly.... (is has to work with at data and a time)</P><P>Kind regards</P><P>Jens</P>]]>
   </description>
   <pubDate>Sat, 21 Aug 2004 11:19:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1097&amp;PID=2850&amp;title=report-control-sorting-dates#2850</guid>
  </item> 
 </channel>
</rss>