<?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 : Removing Rows?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Removing Rows?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 22:00:49 +0000</pubDate>
  <lastBuildDate>Fri, 23 Feb 2007 08:13:56 +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=4915</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[Removing Rows? : thanks a lot! :-)  if everything...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=20705&amp;title=removing-rows#20705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2648">dandan</a><br /><strong>Subject:</strong> 4915<br /><strong>Posted:</strong> 23 February 2007 at 8:13am<br /><br />thanks a lot! :-)<DIV>&nbsp;</DIV><DIV>if everything could be that easy :-)</DIV>]]>
   </description>
   <pubDate>Fri, 23 Feb 2007 08:13:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=20705&amp;title=removing-rows#20705</guid>
  </item> 
  <item>
   <title><![CDATA[Removing Rows? : Hi.  Use this to remove all...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=20703&amp;title=removing-rows#20703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 4915<br /><strong>Posted:</strong> 23 February 2007 at 7:13am<br /><br />Hi.<DIV>&nbsp;</DIV><DIV>Use this to remove all Rows and all Columns:</DIV><DIV>&nbsp;</DIV><DIV>//CXTPReportControl m_wndReportCtrl;</DIV><DIV>&nbsp;</DIV><DIV>//Remove all Rows<BR>m_wndReportCtrl.GetRecords()-&gt;RemoveAll();</DIV><DIV>&nbsp;</DIV><DIV>//Remove all Columns</DIV><DIV>int&nbsp;count = m_wndReportCtrl.GetColumns()-&gt;GetCount();</DIV><DIV>for(int i=0; i&nbsp;&lt; count; i++){</DIV><DIV>m_wndReportCtrl.GetColumns()-&gt;Remove(m_wndReportCtrl.GetColumns()-&gt;GetAt(i))</DIV><DIV>}<BR>m_wndReportCtrl.Populate();<BR></DIV>]]>
   </description>
   <pubDate>Fri, 23 Feb 2007 07:13:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=20703&amp;title=removing-rows#20703</guid>
  </item> 
  <item>
   <title><![CDATA[Removing Rows? : hi, is there also an easy and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=20702&amp;title=removing-rows#20702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2648">dandan</a><br /><strong>Subject:</strong> 4915<br /><strong>Posted:</strong> 23 February 2007 at 6:04am<br /><br />hi, is there also an easy and fast method to remove <strong>all</strong> rows and columns, to get an empty ReportControl, and fill it again with completely other data?<DIV>&nbsp;</DIV><DIV>destroying the object and create it again does for some reason not work in the way&nbsp;as i expected.</DIV>]]>
   </description>
   <pubDate>Fri, 23 Feb 2007 06:04:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=20702&amp;title=removing-rows#20702</guid>
  </item> 
  <item>
   <title><![CDATA[Removing Rows? : Hi,When you removing records,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=15318&amp;title=removing-rows#15318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4915<br /><strong>Posted:</strong> 29 August 2006 at 4:33pm<br /><br />Hi,<br><br>When you removing records, calling RedrawControl is not enough.<br><br>In the end of your loop you should call m_wndReport.Populate();<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Tue, 29 Aug 2006 16:33:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=15318&amp;title=removing-rows#15318</guid>
  </item> 
  <item>
   <title><![CDATA[Removing Rows? :     I have a report control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=15311&amp;title=removing-rows#15311</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2231">skemp@docucorp</a><br /><strong>Subject:</strong> 4915<br /><strong>Posted:</strong> 29 August 2006 at 11:45am<br /><br /><DIV></DIV><DIV></DIV><DIV><FONT size=2><DIV><FONT size=2><DIV><FONT face="Arial, Helvetica, sans-serif" size=5>I have a report control on a dialog.&nbsp; I am performing a process on the selected rows and as each is sucessfully done, I want to remove the row and record.&nbsp; Below is the code I am trying but the row still seems to display.</FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono"></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">CXTPReportSelectedRows* pSelectedRows = m_wndReport.GetSelectedRows();</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">POSITION pos = pSelectedRows-&gt;GetFirstSelectedRowPosition();</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" color=#0000ff size=2>while</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> (pos)</FONT></DIV><DIV><DIV><FONT face="Courier New, Courier, mono">{</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; CXTPReportRow* pRow = pSelectedRows-&gt;GetNextSelectedRow(pos);</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; CFileInfoRecord *pRecord;</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; pRecord = (CFileInfoRecord *)pRow-&gt;GetRecord();</FONT></DIV><DIV></FONT><FONT face="Courier New, Courier, mono" color=#0000ff size=2>&nbsp; if</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> (pRecord)</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp; {</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" color=#0000ff size=2>&nbsp; &nbsp; if</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> (pRecord-&gt;m_pDllInfo)</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; {</FONT></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> (pRecord-&gt;m_pDllInfo-&gt;OnDrop(pRecord-&gt;m_pDoc, pRecord-&gt;m_localFileH))</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc3333>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pSelectedRows-&gt;Remove(pRow);</FONT></FONT></DIV><DIV><FONT color=#cc3333><FONT face="Courier New, Courier, mono" size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int</FONT><FONT size=2><FONT face="Courier New, Courier, mono"> idx = pRecord-&gt;GetIndex();</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc3333>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_wndReport.GetRecords()-&gt;RemoveAt(idx);</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#cc3333>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_wndReport.RedrawControl();</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; }</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp; }</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono">}</FONT></DIV></FONT></FONT></FONT><FONT size=2></DIV></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 29 Aug 2006 11:45:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4915&amp;PID=15311&amp;title=removing-rows#15311</guid>
  </item> 
 </channel>
</rss>