<?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 : HOWTO: Move rows up/down by code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : HOWTO: Move rows up/down by code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:50:17 +0000</pubDate>
  <lastBuildDate>Mon, 29 Jun 2015 16:10:22 +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=18416</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[HOWTO: Move rows up/down by code :  CXTPReportRow* Row=Report_.G...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18416&amp;PID=73564&amp;title=howto-move-rows-up-down-by-code#73564</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 18416<br /><strong>Posted:</strong> 29 June 2015 at 4:10pm<br /><br /><table width="99%"><tr><td><pre class="BBcode">CXTPReportRow* Row=Report_.GetFocusedRow();<br>Report_.GetRecords()-&gt;MoveRecord(Row-&gt;<strong><font color="RED">GetRecord()</font></strong><strong><font color="">-</font></strong>&gt;GetIndex()-1, Row-&gt;GetRecord(), TRUE);<br>Report_.Populate();</pre></td></tr></table>&nbsp;]]>
   </description>
   <pubDate>Mon, 29 Jun 2015 16:10:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18416&amp;PID=73564&amp;title=howto-move-rows-up-down-by-code#73564</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Move rows up/down by code : Hi;Can&amp;#039;t believe that no...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18416&amp;PID=64564&amp;title=howto-move-rows-up-down-by-code#64564</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18416<br /><strong>Posted:</strong> 24 May 2011 at 3:44pm<br /><br />Hi;<br><br>Can't believe that no one else needed this before!<br><br>]]>
   </description>
   <pubDate>Tue, 24 May 2011 15:44:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18416&amp;PID=64564&amp;title=howto-move-rows-up-down-by-code#64564</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Move rows up/down by code : Hi;I&amp;#039;ve a tree like report...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18416&amp;PID=64515&amp;title=howto-move-rows-up-down-by-code#64515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18416<br /><strong>Posted:</strong> 20 May 2011 at 6:59pm<br /><br />Hi;<br><br>I've a tree like report control and since built-in drag&amp;drop does not support to rearrange rows in this mode, I want to move record up/down by code.<br>But I can't find out how this has to be implemented.<br>I tried this code to move a row up by one row:<br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp;&nbsp; CXTPReportRow* Row=Report_.GetFocusedRow();<br>&nbsp;&nbsp;&nbsp; Report_.GetRecords()-&gt;MoveRecord(Row-&gt;GetIndex()-1, Row-&gt;GetRecord(), TRUE);<br>&nbsp;&nbsp;&nbsp; Report_.Populate();</pre></td></tr></table><br>but nothing happens.<br><br>Any help is very welcome...<br>]]>
   </description>
   <pubDate>Fri, 20 May 2011 18:59:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18416&amp;PID=64515&amp;title=howto-move-rows-up-down-by-code#64515</guid>
  </item> 
 </channel>
</rss>