<?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 : Invisible records</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Invisible records]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 00:02:01 +0000</pubDate>
  <lastBuildDate>Mon, 07 May 2007 08:37:40 +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=7031</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[Invisible records : You need to insert each cell into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7031&amp;PID=22618&amp;title=invisible-records#22618</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 7031<br /><strong>Posted:</strong> 07 May 2007 at 8:37am<br /><br />You need to insert each cell into the record.<br><br>your class CalGridRect doesn't call AddItem.<br><br>Sample code for a reportRecord<br><br>class SampleRecord : public CXTPReportRecord<br>{<br>public:<br>&nbsp;&nbsp;&nbsp; SampleRecord(CString sData, double dData)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pText = new CXTPReportRecordItemText();<br>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; AddItem(m_pText);<br>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; m_pNumber = new CXTPReportRecordItemNumber()<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AddItem(m_pNumber);<br>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; m_pText-&gt;SetValue(sData);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pNumber-&gt;SetValue(dData);<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; CXTPReportRecordItemText* m_pText;<br>&nbsp;&nbsp;&nbsp; CXTPReportRecordItemNumber* m_pNumber;<br><br>};<br><br><br>make sure you use pointer members and new them, otherwise when the framework deletes the pointers you pass in, you'll get heap corruption and a flaky app.&nbsp; It only seems to happen in release builds too, I guess due to differences in new and delete for debug vs release builds. <br><br><br>]]>
   </description>
   <pubDate>Mon, 07 May 2007 08:37:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7031&amp;PID=22618&amp;title=invisible-records#22618</guid>
  </item> 
  <item>
   <title><![CDATA[Invisible records : I have a combination of record...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7031&amp;PID=22509&amp;title=invisible-records#22509</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2973">Tex in a Can</a><br /><strong>Subject:</strong> 7031<br /><strong>Posted:</strong> 02 May 2007 at 5:45pm<br /><br />I have a combination of record items that will not display the data on the report control, see attached bitmap. The records appear to have been added (the sorts work and there are lines below the records) but the data is invisible. I modified the record sample with these record items and have attached the zipped project? Can anyone help? If&nbsp;I revert to the sample record items the data appears. I am totally confused.<DIV>&nbsp;</DIV><DIV>Thanks.<a href="https://forum.codejock.com/uploads/20070502_174427_ReportSample2.zip" target="_blank">uploads/20070502_174427_ReportSample2.zip</A><a href="https://forum.codejock.com/uploads/20070502_174508_report_c&#111;ntrol_.zip" target="_blank">uploads/20070502_174508_report_control_.zip</A></DIV>]]>
   </description>
   <pubDate>Wed, 02 May 2007 17:45:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7031&amp;PID=22509&amp;title=invisible-records#22509</guid>
  </item> 
 </channel>
</rss>