<?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 : Modify records before drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Modify records before drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 05:36:49 +0000</pubDate>
  <lastBuildDate>Sat, 10 May 2008 13:11:05 +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=10580</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[Modify records before drop : I drag records from Report1 containing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10580&amp;PID=35068&amp;title=modify-records-before-drop#35068</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 10580<br /><strong>Posted:</strong> 10 May 2008 at 1:11pm<br /><br /><DIV>I drag records from Report1 containing CBlackRecords and drop them into Report2 with CBlueRecords. Thus, before the drop I need to make a conversion.</DIV><DIV>&nbsp;</DIV><DIV>Previously, I did this in OnBeforePaste(). Due to the design-change I cannot do that anymore. Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>I tried handling <FONT color=#040004 size=2>XTP_NM_REPORT_DROP, re-assigning the drop-records (and freeing the old ones)&nbsp;but this causes a crash at XTPReportControl.cpp(3982). I also tried removing all records and add the new ones, but I cannot figure out how to do this correctly. CXTPReportRecord::Move() does not suffice, it seems...</FONT></DIV><DIV><FONT color=#040004 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#040004 size=2><strong>Bug? </strong>If there is no other way to accomplish the above, I&nbsp;</FONT><FONT color=#040004 size=2>believe you should change this: </FONT><FONT color=#040004 size=2><FONT color=#040004 size=2>CMDTARGET_RELEASE</FONT><FONT color=#000000 size=2>(</FONT><FONT color=#040004 size=2>pDropRecords</FONT><FONT size=2><FONT color=#000000>);</FONT></FONT></FONT></DIV><DIV><FONT color=#040004 size=2>to this: </FONT><FONT color=#040004 size=2><strong><FONT color=#040004 size=2><FONT color=#040004 size=2>CMDTARGET_RELEASE</FONT><FONT color=#000000 size=2>(</FONT><FONT size=2></FONT>nmData</FONT><FONT color=#000000 size=2>.</FONT><FONT color=#040004 size=2>pRecords);</DIV></FONT></strong></FONT>]]>
   </description>
   <pubDate>Sat, 10 May 2008 13:11:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10580&amp;PID=35068&amp;title=modify-records-before-drop#35068</guid>
  </item> 
 </channel>
</rss>