<?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 : GetSelectedRows()-&gt;GetCount() missing ASSERT?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : GetSelectedRows()-&gt;GetCount() missing ASSERT?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 02:16:00 +0000</pubDate>
  <lastBuildDate>Mon, 12 Feb 2007 15:11:58 +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=6385</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[GetSelectedRows()-&gt;GetCount() missing ASSERT? : Hi,Yes, that makes sense, thanks!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6385&amp;PID=20321&amp;title=getselectedrowsgetcount-missing-assert#20321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6385<br /><strong>Posted:</strong> 12 February 2007 at 3:11pm<br /><br />Hi,<br><br>Yes, that makes sense, thanks! <br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 15:11:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6385&amp;PID=20321&amp;title=getselectedrowsgetcount-missing-assert#20321</guid>
  </item> 
  <item>
   <title><![CDATA[GetSelectedRows()-&gt;GetCount() missing ASSERT? : I wanted to select all items in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6385&amp;PID=20316&amp;title=getselectedrowsgetcount-missing-assert#20316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 6385<br /><strong>Posted:</strong> 12 February 2007 at 2:58pm<br /><br /><DIV>I wanted to select all items in my report control and did this:</DIV><DIV>&nbsp;</DIV><DIV>int count = GetRecords()-&gt;GetCount(); // count == 10<BR>GetSelectedRows()-&gt;SelectBlock(0, count); // 0-11 selected!!</DIV><DIV>&nbsp;</DIV><DIV>Would have been nice if there had been an ASSERT(count &lt; GetCount()); inside the SelectBlock function <img src="https://forum.codejock.com/smileys/smiley5.gif" border="0">. Took me some time to find out why my selections got corrupt sometimes.</DIV><DIV>&nbsp;</DIV><DIV>Maybe you should add this minor check in future releases?</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 14:58:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6385&amp;PID=20316&amp;title=getselectedrowsgetcount-missing-assert#20316</guid>
  </item> 
 </channel>
</rss>