<?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 displays empty rows</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report displays empty rows]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 16:51:29 +0000</pubDate>
  <lastBuildDate>Mon, 13 Jul 2009 23:29:48 +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=14693</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 displays empty rows :  Funny bug: you create column...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50929&amp;title=report-displays-empty-rows#50929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14693<br /><strong>Posted:</strong> 13 July 2009 at 11:29pm<br /><br /><img src="https://forum.codejock.com/uploads/20090713_233034_ScreenShot1.jpg" border="0"> <DIV>Funny bug: you create column with index 1 and add item with index 0:</DIV><DIV><FONT color=#008000 size=2>//Creation of one column</FONT><FONT size=2>&nbsp;</FONT></DIV><DIV><FONT size=2>//m_myReport.AddColumn(<FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(1, </FONT><FONT color=#a31515 size=2>"COLUMN 1"</FONT><FONT size=2>, 100)); - SHOULD START FROM 0 - VB Background?!</DIV><DIV><DIV></FONT>m_myReport.AddColumn(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportColumn(0, </FONT><FONT color=#a31515 size=2>"COLUMN 1"</FONT><FONT size=2>, 100));</FONT></DIV><DIV><FONT color=#008000 size=2>//Add one record</DIV></FONT><FONT size=2><P>m_myReport.AddRecordEx(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecord());</P><DIV></FONT><FONT color=#008000 size=2>//Add one text item to the record</DIV></FONT><FONT size=2><P>CXTPReportRecords* p_record_collection = m_myReport.GetRecords();</P><P>CXTPReportRecord* p_record = p_record_collection-&gt;GetAt(0);</P><P>p_record-&gt;AddItem(</FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> CXTPReportRecordItemText(</FONT><FONT color=#a31515 size=2>"THIS TEXT SHOULD BE SHOWN ON FIRST COLUMN"</FONT><FONT size=2>));</P><P></FONT><FONT color=#008000 size=2>//Populate the record</P></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 13 Jul 2009 23:29:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50929&amp;title=report-displays-empty-rows#50929</guid>
  </item> 
  <item>
   <title><![CDATA[Report displays empty rows : Sorry - I can only follow most...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50892&amp;title=report-displays-empty-rows#50892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14693<br /><strong>Posted:</strong> 12 July 2009 at 8:00pm<br /><br />Sorry - I can only follow most recent code - 13.1 with current updates]]>
   </description>
   <pubDate>Sun, 12 Jul 2009 20:00:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50892&amp;title=report-displays-empty-rows#50892</guid>
  </item> 
  <item>
   <title><![CDATA[Report displays empty rows : Thanks for your answer.  I cannot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50735&amp;title=report-displays-empty-rows#50735</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4775">AlexCTF</a><br /><strong>Subject:</strong> 14693<br /><strong>Posted:</strong> 07 July 2009 at 4:02am<br /><br />Thanks for your answer.<DIV>&nbsp;</DIV><DIV>I cannot get rid of the Record Control inside a view, in fact inside a FormView. The using of a SDI was just to test, but the final application I want to implement it in is a MDI one and I can´t change that. Of course I checked out the Dialog-based Report sample but again it doesn´t work. I attach this Dialog-based example with a modification inside. This modification consists of a new Record Control embedded in the same dialog; a new custom control added of XTPRecord class, the same window styles. One new variable added for it (m_myrecord). You´ll see inside OnInitDialog (line 238) the new code added for this new report. One column, one recordEx with one text item. It doesn´t work, again correct control creation, column creation, column display but no text&nbsp;for the new item!</DIV><DIV>&nbsp;</DIV><DIV>I´ve attached the Debug executable. It is linked with Codejock version 11.2.2. and compiled with Visual Studio 2003 v 7.1.</DIV><DIV><a href="http://forum.codejock.com/uploads/20090707_040046_ReportDialog.rar" target="_blank">uploads/20090707_040046_ReportDialog.rar</A></DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot.</DIV>]]>
   </description>
   <pubDate>Tue, 07 Jul 2009 04:02:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50735&amp;title=report-displays-empty-rows#50735</guid>
  </item> 
  <item>
   <title><![CDATA[Report displays empty rows : You don&amp;#039;t need to use SDI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50726&amp;title=report-displays-empty-rows#50726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14693<br /><strong>Posted:</strong> 06 July 2009 at 10:09pm<br /><br />You don't need to use SDI or MDI - check Dialog-based Report sample - e.g. ReportAddRecordEx or ReportDataBinding]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 22:09:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50726&amp;title=report-displays-empty-rows#50726</guid>
  </item> 
  <item>
   <title><![CDATA[Report displays empty rows : uploads/20090706_063301_ReportQuestion.rar  Hello,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50710&amp;title=report-displays-empty-rows#50710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4775">AlexCTF</a><br /><strong>Subject:</strong> 14693<br /><strong>Posted:</strong> 06 July 2009 at 6:36am<br /><br /><a href="http://forum.codejock.com/uploads/20090706_063301_ReportQuesti&#111;n.rar" target="_blank">uploads/20090706_063301_ReportQuestion.rar</A><DIV>&nbsp;</DIV><DIV>Hello, we have a problem with the simple implementation of a Report Control inside a View. With simple implementation I mean the use of text columns, not the complex record types used inside Codejock´s examples (CMessageRecord). </DIV><DIV>&nbsp;</DIV><DIV>We need to insert a ReportControl inside a view. As another controls must be inserted in it, the CXTPRecordView is not a solution for us. We start using the ReportControl as a member variable of our view (the simple standard view of a SDI application). Inside OnCreate function we create the window for the control and after, we create one simple column and just one single record with a CXTPReportRecordItemText in it (just to test). After we call Populate function inside OnInitialUpdate. All this seems simple enough to work fine but, unfortunately, we don´t get a correct behaviour. The control is created, the column is created too with its caption, even a record is created (as a white marked rectangle is shown), but there is no text for the record. It seems to be empty.</DIV><DIV>We took a look inside Codejock´s examples. First of all, except for the VirtualList one, they all use complex types of records that only make everything more obscure. We decided to change VirtualList example. We set it with just one column and commented the line where the virtual mode is created. Instead, we use the same lines of code we implemented before in our project and... it worked.</DIV><DIV>I don´t know the reason why with apparently the same lines of active code the behaviour is different. If someone wants to help us, you´ll find on the top of this page a link to a jpg image showing these elements. If we don´t find a solution for this question we should consider the use of another&nbsp;control different from those of Codejock.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance.</DIV>]]>
   </description>
   <pubDate>Mon, 06 Jul 2009 06:36:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14693&amp;PID=50710&amp;title=report-displays-empty-rows#50710</guid>
  </item> 
 </channel>
</rss>