<?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 : How to delete a report row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to delete a report row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 07:25:14 +0000</pubDate>
  <lastBuildDate>Tue, 15 Apr 2008 04:39:32 +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=10209</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[How to delete a report row : RedrawControl() is not enough....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10209&amp;PID=33685&amp;title=how-to-delete-a-report-row#33685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 10209<br /><strong>Posted:</strong> 15 April 2008 at 4:39am<br /><br />RedrawControl() is not enough. You must recall Populate().]]>
   </description>
   <pubDate>Tue, 15 Apr 2008 04:39:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10209&amp;PID=33685&amp;title=how-to-delete-a-report-row#33685</guid>
  </item> 
  <item>
   <title><![CDATA[How to delete a report row : I have this code to delete any...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10209&amp;PID=33579&amp;title=how-to-delete-a-report-row#33579</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2279">garylyb</a><br /><strong>Subject:</strong> 10209<br /><strong>Posted:</strong> 12 April 2008 at 7:38pm<br /><br /><br>I have this code to delete any rows that are checked:<br><br><br>&nbsp;&nbsp;&nbsp; // Now see if any rows need to be deleted<br><br>&nbsp;&nbsp; &nbsp;CXTPReportRows *pRows = m_wndReportCtrl.GetRows();<br><br>&nbsp;&nbsp; &nbsp;for ( int j=0 ; j &lt; pRows-&gt;GetCount() ; j++ )<br>&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;CXTPReportRow *pRow = pRows-&gt;GetAt(j);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;BOOL bChecked = pRow-&gt;GetRecord()-&gt;GetItem(COLUMN_DELETE)-&gt;IsChecked();<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if ( bChecked )<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pRows-&gt;RemoveAt(j);<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;}<br><br>&nbsp;&nbsp; &nbsp;m_wndReportCtrl.RedrawControl();<br><br><br><br>It works, but when I click on the header to sort the report, the deleted rows come back, still checked.<br><br>How can I get rid of it for good?<br><br><br>]]>
   </description>
   <pubDate>Sat, 12 Apr 2008 19:38:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10209&amp;PID=33579&amp;title=how-to-delete-a-report-row#33579</guid>
  </item> 
 </channel>
</rss>