<?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 : Report C&#111;ntrol</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Report C&#111;ntrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 17:42:55 +0000</pubDate>
  <lastBuildDate>Wed, 28 Dec 2005 13:33:14 +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=3453</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[Report C&#111;ntrol : That is beacuse CXPTReportRecords::Add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3453&amp;PID=10356&amp;title=report-control#10356</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3453<br /><strong>Posted:</strong> 28 December 2005 at 1:33pm<br /><br />That is beacuse CXPTReportRecords::Add does not accept 7 arguments:<br><br>CXTPReportRecord* Add(CXTPReportRecord* pRecord)<br><br>You need:<br>pList-&gt;Add(new CXTPReportRecord());<br><br>I suggest looking over the Virtal List sample more closely.&nbsp; <br>]]>
   </description>
   <pubDate>Wed, 28 Dec 2005 13:33:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3453&amp;PID=10356&amp;title=report-control#10356</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol :  I am trying to add my own data...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3453&amp;PID=10353&amp;title=report-control#10353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1631">almatesic</a><br /><strong>Subject:</strong> 3453<br /><strong>Posted:</strong> 28 December 2005 at 9:13am<br /><br /><FONT color=#0000ff size=2><P>I am trying to add my own data to the columns I have created. I am using the following snippet</P><P><FONT color=#008000 size=2>// add new record to the record list</P></FONT><FONT size=2><P>CXTPReportRecords* pList = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecords();</P><P>pList-&gt;Add(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecord(0, _T("Albino"), NULL, NULL, NULL, _T("NJ"), _T("07650")));</FONT></P><P>and it is telling me that CXTPReportRecord does not support 7 arguments. Don't know what I am doing wrong here. Below is the code where I added the above lines.</P><P>int</FONT><FONT size=2> CContactViewList::OnCreate(LPCREATESTRUCT lpCreateStruct)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (CXTPReportView::OnCreate(lpCreateStruct) == -1)</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1;</P><P>CXTPReportControl&amp; wndReport = GetReportCtrl();</P><P>wndReport.GetReportHeader()-&gt;AllowColumnRemove(FALSE);</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(0, _T("Name"), 25));</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(1, _T("Phone"), 10));</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(2, _T("Company"), 25));</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(3, _T("Adress"), 15));</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(4, _T("City"), 5));</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(5, _T("State"), 5));</P><P>wndReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(6, _T("Zip"), 8));</P><P></FONT><FONT color=#008000 size=2>// add new record to the record list</P></FONT><FONT size=2><P>CXTPReportRecords* pList = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecords();</P><P>pList-&gt;Add(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecord(0, _T("Albino"), NULL, NULL, NULL, _T("NJ"), _T("07650")));</P><P>wndReport.SetVirtualMode(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CVirtualRecord(), 50);</P><P>wndReport.Populate();</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> 0;</P><P>}</P><P>Thanks a million!</P></FONT>]]>
   </description>
   <pubDate>Wed, 28 Dec 2005 09:13:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3453&amp;PID=10353&amp;title=report-control#10353</guid>
  </item> 
 </channel>
</rss>