<?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 : Sort/Group problem with null-value rows</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Sort/Group problem with null-value rows]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 21:07:27 +0000</pubDate>
  <lastBuildDate>Wed, 16 Mar 2011 05:56:03 +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=18025</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[Sort/Group problem with null-value rows : Hi, Manually setting the values...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63339&amp;title=sort-group-problem-with-nullvalue-rows#63339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6672">karlvhan</a><br /><strong>Subject:</strong> 18025<br /><strong>Posted:</strong> 16 March 2011 at 5:56am<br /><br />Hi, <br><br>Manually setting the values of SortPriority and GroupPriority to 0 whenever we encounter an item where the value is null, seems to solve the problem.<br><br>Thanks <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br>]]>
   </description>
   <pubDate>Wed, 16 Mar 2011 05:56:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63339&amp;title=sort-group-problem-with-nullvalue-rows#63339</guid>
  </item> 
  <item>
   <title><![CDATA[Sort/Group problem with null-value rows : Hi, don&amp;#039;t know if this is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63327&amp;title=sort-group-problem-with-nullvalue-rows#63327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3156">Peter59</a><br /><strong>Subject:</strong> 18025<br /><strong>Posted:</strong> 15 March 2011 at 5:14pm<br /><br />Hi, <br><br>don't know if this is normal behaviour of ReportControl but you can use SortPriority and GroupPriority to enforce correct sorting/grouping - see attached sample. <a href="uploads/3156/Grouping_NULL_values.zip" target="_blank">uploads/3156/Grouping_NULL_values.zip</a><br><br>The sample assumes a simple booking list by a hotel: some arrival dates are not confirmed (NULL) and some room categories are NULL. Providing SortPriority/GroupPriority manually you can achieve expected sorting/grouping. <br><br>Peter <br>&nbsp; <br>]]>
   </description>
   <pubDate>Tue, 15 Mar 2011 17:14:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63327&amp;title=sort-group-problem-with-nullvalue-rows#63327</guid>
  </item> 
  <item>
   <title><![CDATA[Sort/Group problem with null-value rows : Hi, Can you upload a test project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63322&amp;title=sort-group-problem-with-nullvalue-rows#63322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18025<br /><strong>Posted:</strong> 15 March 2011 at 8:40am<br /><br /><P>Hi,</P><P>Can you upload a test project where the above is showing? </P><P>Thanks</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 15 Mar 2011 08:40:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63322&amp;title=sort-group-problem-with-nullvalue-rows#63322</guid>
  </item> 
  <item>
   <title><![CDATA[Sort/Group problem with null-value rows : Hi, If one or more rows are missing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63198&amp;title=sort-group-problem-with-nullvalue-rows#63198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6672">karlvhan</a><br /><strong>Subject:</strong> 18025<br /><strong>Posted:</strong> 09 March 2011 at 11:13am<br /><br />Hi, <br><br>If one or more rows are missing data in a column, sorting and grouping on this column won't work properly.<br><br>In the printscreen below, I have attempted to sort the contents of the ReportControl by clicking on the column header for the column labeled "String". It seems that the ReportControl isn't able to properly distinguish between rows that actually do have a value and rows that don't (i.e. the value is null). Instead, it mixes these together, resulting in a list where the rows are incorrectly sorted.<br><img src="uploads/6672/NullValue_SortProb.jpg" height="249" width="423" border="0" /><br><br>The next printscreen shows that grouping on a column which contains both ordinary values and null-values can result in multiple groups with identical criteria. (In this example, we have two groups where both groups are defined by having the value null in the column "String". (This can also happen to other values than null.)) <br><img src="uploads/6672/NullValue_GroupProb.jpg" height="253" width="343" border="0" /><br><br>Is this a known problem with the ReportControl?<br>Or is there a way to make ReportControl handle such null-value rows? (Preferrably without having to go through each combination of column and row in order to replace the value where such a null-value occurs...)<br><br><br>]]>
   </description>
   <pubDate>Wed, 09 Mar 2011 11:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18025&amp;PID=63198&amp;title=sort-group-problem-with-nullvalue-rows#63198</guid>
  </item> 
 </channel>
</rss>