<?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 : CXTPReportC&#111;ntrol per&#102;ormance</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPReportC&#111;ntrol per&#102;ormance]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 23:34:15 +0000</pubDate>
  <lastBuildDate>Thu, 16 Jun 2005 04:36:45 +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=2368</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[CXTPReportC&#111;ntrol per&#102;ormance : Hi Mark,  Regarding memory usage:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7101&amp;title=cxtpreportcontrol-performance#7101</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 2368<br /><strong>Posted:</strong> 16 June 2005 at 4:36am<br /><br />Hi Mark,<br /><br />Regarding memory usage: when you have 9 columns, you see that each corresponding record item contains its own information. I suppose that the biggest part of used memory is spent to storing some string items values. If these values are identical, or they could be calculated somehow at runtime, you can create a kind of specific RecordItem-derived class, which will not store the data (strings or anything) inside itself, but will have some static storage, or calculated at runtime in overridden GetCaption() method.<br /><br />There could be something like the following:<br /><table width="99%"><tr><td><pre class="BBcode"><br />class CDynamicRecordItemText : public CXTPReportRecordItem<br />{<br />public:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDynamicRecordItemText();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;virtual CString GetCaption(CXTPReportColumn* pColumn) {<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // calculate caption<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return strCalculatedCaption;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;virtual CString GetGroupCaption(CXTPReportColumn* pColumn) {<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // calculate group caption<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return strCalculatedGroupCaption;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />};<br /><br />class CCommonRecordItemText : public CXTPReportRecordItem<br />{<br />public:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CCommonRecordItemText();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;virtual CString GetCaption(CXTPReportColumn* pColumn) {<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ms_strText;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />private:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static CString ms_strText;<br />};<br /></pre></td></tr></table><br /><br />--<br />WBR,<br />Serge]]>
   </description>
   <pubDate>Thu, 16 Jun 2005 04:36:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7101&amp;title=cxtpreportcontrol-performance#7101</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol per&#102;ormance : For redraw use  RedrawControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7064&amp;title=cxtpreportcontrol-performance#7064</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2368<br /><strong>Posted:</strong> 14 June 2005 at 4:44am<br /><br /><P>For redraw use <FONT size=2></P><P>RedrawControl instead Populate.</P><P>call Populate only if records changed.</P></FONT>]]>
   </description>
   <pubDate>Tue, 14 Jun 2005 04:44:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7064&amp;title=cxtpreportcontrol-performance#7064</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol per&#102;ormance : Is it possible to redraw a specific...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7058&amp;title=cxtpreportcontrol-performance#7058</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 2368<br /><strong>Posted:</strong> 13 June 2005 at 6:23pm<br /><br />Is it possible to redraw a specific row of a CXTPReportControl without calling Populate() on the entire control?<br><br>- MR<br><br>]]>
   </description>
   <pubDate>Mon, 13 Jun 2005 18:23:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7058&amp;title=cxtpreportcontrol-performance#7058</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPReportC&#111;ntrol per&#102;ormance : Hello,  I&amp;#039;ve been using...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7047&amp;title=cxtpreportcontrol-performance#7047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=669">markr</a><br /><strong>Subject:</strong> 2368<br /><strong>Posted:</strong> 12 June 2005 at 10:48pm<br /><br />Hello,<br><br>I've been using CXTPReportControl (v9.60) for quite a while now, and I think the functionality is really solid.<br><br>I am having a problem, though with memory usage. When I add ten totwenty thousand records to the report (which has 9 colums), memoryutilization really shoots up. I need the grouping capabilities of thecontrol, so I can't use the "virtual mode" - any general tips ongetting memory usage down?<br><br>Thanks,<br><br>- MR<br>]]>
   </description>
   <pubDate>Sun, 12 Jun 2005 22:48:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2368&amp;PID=7047&amp;title=cxtpreportcontrol-performance#7047</guid>
  </item> 
 </channel>
</rss>