<?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 : [SOLVED] Update a record without Populate</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Update a record without Populate]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 14:18:49 +0000</pubDate>
  <lastBuildDate>Mon, 15 Sep 2008 05:18: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=11564</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[[SOLVED] Update a record without Populate : I also have problems with CXTP...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=40992&amp;title=solved-update-a-record-without-populate#40992</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 11564<br /><strong>Posted:</strong> 15 September 2008 at 5:18am<br /><br />I also have problems with CXTPReportControl::UpdateRecord(), in XTP 12.0.1. After I have called it, I get a crash as soon as CXTPReportRecords::RemoveAll() is called. <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Is this a known issue or am I doing anything wrong?</DIV><DIV>&nbsp;</DIV><DIV>CMyRecord *pRecord = wndReport.GetRecords()-&gt;GetAt(0);</DIV><DIV>pRecord-&gt;DoStuff();</DIV><DIV>wndReport.UpdateRecord(pRecord, FALSE);</DIV><DIV>&nbsp;</DIV><DIV>And later the report is re-populated, causing a crash:</DIV><DIV>wndReport.ResetContent();</DIV><DIV>...</DIV>]]>
   </description>
   <pubDate>Mon, 15 Sep 2008 05:18:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=40992&amp;title=solved-update-a-record-without-populate#40992</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Update a record without Populate : UpdateRecord does not desroy/recreate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=39081&amp;title=solved-update-a-record-without-populate#39081</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11564<br /><strong>Posted:</strong> 29 July 2008 at 8:27am<br /><br />UpdateRecord does not desroy/recreate existing collections.<DIV>Internally it calls </DIV><DIV>&nbsp; RemoveRecordEx</DIV><DIV>&nbsp; AddRecordEx</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 29 Jul 2008 08:27:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=39081&amp;title=solved-update-a-record-without-populate#39081</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Update a record without Populate : Hi Andrei,  If you are going...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=39074&amp;title=solved-update-a-record-without-populate#39074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11564<br /><strong>Posted:</strong> 29 July 2008 at 7:26am<br /><br />Hi Andrei,<DIV>&nbsp;</DIV><DIV>If you are going to fix this, will it affect the rest of ReportControl? I mean when calling .populate some (internal) collections will be destroyed (some I know, not all...)</DIV><UL><LI>Expanded/collapsed groups</LI><LI>Selected rows</LI><LI>.... maybe more</LI></UL><P>Does this .UpdateRecord method do the same or will it only be applied on that record? </P><DIV>&nbsp;</DIV><DIV>Thanks&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 29 Jul 2008 07:26:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=39074&amp;title=solved-update-a-record-without-populate#39074</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Update a record without Populate : Hi,  I find a bug. Will be fixed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=38996&amp;title=solved-update-a-record-without-populate#38996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11564<br /><strong>Posted:</strong> 28 July 2008 at 11:10am<br /><br />Hi, <DIV>I find a bug.</DIV><DIV>Will be fixed in 12.0.2</DIV>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 11:10:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=38996&amp;title=solved-update-a-record-without-populate#38996</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Update a record without Populate : Hi,   Can I do this?:   PhysicalMemory...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=38844&amp;title=solved-update-a-record-without-populate#38844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11564<br /><strong>Posted:</strong> 24 July 2008 at 9:30am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Can I do this?:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; <FONT color=#666666>PhysicalMemory = GetPhysicalMemory() / 1000000<BR>&nbsp;&nbsp;&nbsp; FreePhysicalMemory = GetFreePhysicalMemory() / 1000<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Dim record As XtremeReportControl.ReportRecord<BR>&nbsp;&nbsp;&nbsp; Set record = wndReportControlStatus.Records(0)&nbsp;</DIV><DIV>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; record.Item(1).Value = PhysicalMemory &amp; " Mb"<BR>&nbsp;&nbsp;&nbsp; wndReportControlStatus.<strong>UpdateRecord</strong> record, False<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Set record = wndReportControlStatus.Records(1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;record.Item(1).Value = FreePhysicalMemory &amp; " Mb"<BR>&nbsp;&nbsp;&nbsp; wndReportControlStatus.<strong>UpdateRecord</strong> record, False<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; <strong><FONT size=3>or</FONT></strong></DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; wndReportControlStatus.Records(0).Item(1).Value = PhysicalMemory &amp; " Mb"<BR>&nbsp;&nbsp;&nbsp; wndReportControlStatus.<strong>UpdateRecord</strong> wndReportControlStatus.Records(0), False<BR>&nbsp;&nbsp;&nbsp; wndReportControlStatus.Records(1).Item(1).Value = FreePhysicalMemory &amp; " Mb"<BR>&nbsp;&nbsp;&nbsp; wndReportControlStatus.<strong>UpdateRecord</strong> wndReportControlStatus.Records(1), False</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>both will&nbsp;mess&nbsp;up the first reportitems of records <img src="https://forum.codejock.com/smileys/smiley19.gif" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>I will try to create a test project for this later on</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 09:30:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11564&amp;PID=38844&amp;title=solved-update-a-record-without-populate#38844</guid>
  </item> 
 </channel>
</rss>