<?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 : HOWTO: Merge cells in footer rows?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : HOWTO: Merge cells in footer rows?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 16:34:08 +0000</pubDate>
  <lastBuildDate>Thu, 12 May 2011 18:22:36 +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=18010</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[HOWTO: Merge cells in footer rows? : if (pItem &amp;amp;&amp;amp; !pItem-&amp;gt;IsMerged()){...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=64359&amp;title=howto-merge-cells-in-footer-rows#64359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 12 May 2011 at 6:22pm<br /><br />if (pItem &amp;&amp; !pItem-&gt;IsMerged())<br>{<br>&nbsp;&nbsp; &nbsp;&nbsp; DrawItemGrid(pDC, pColumn, rcGridItem);<br>}<br><br>]]>
   </description>
   <pubDate>Thu, 12 May 2011 18:22:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=64359&amp;title=howto-merge-cells-in-footer-rows#64359</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? : Hello Andre;after a few days of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=64227&amp;title=howto-merge-cells-in-footer-rows#64227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 05 May 2011 at 4:04pm<br /><br />Hello Andre;<br><br>after a few days of testing I get an ACCVIO in new merge code in function<br><br>void CXTPReportRow::Draw(CDC *pDC, CRect rcRow, CRect rcClip, int nLeftOffset,<br>&nbsp;&nbsp;&nbsp; CXTPReportRecordMergeItems &amp;mergeItems, BOOL bDrawFreeze)<br><br>Line 505:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>...<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!pItem-&gt;IsMerged())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DrawItemGrid(pDC, pColumn, rcGridItem);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>...</pre></td></tr></table><br><br>pItem is in this case NULL!<br><br>This happens if I have more columns than items in the record (e.g. 3 columns but AddItem is called only twice).<br><br>Could you fix this please?<br>]]>
   </description>
   <pubDate>Thu, 05 May 2011 16:04:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=64227&amp;title=howto-merge-cells-in-footer-rows#64227</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? :    mgampi wrote:Otherwise, is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63796&amp;title=howto-merge-cells-in-footer-rows#63796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 08 April 2011 at 3:41pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br />Otherwise, is it possible to get the feature a little bit earlier?<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><br></td></tr></table><br><br>Open a new ticket to request the new code.<br><br>Andre<br><br>]]>
   </description>
   <pubDate>Fri, 08 Apr 2011 15:41:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63796&amp;title=howto-merge-cells-in-footer-rows#63796</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? : Sorry, no release date yet.  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63391&amp;title=howto-merge-cells-in-footer-rows#63391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 18 March 2011 at 9:00pm<br /><br />Sorry, no release date yet.<br><br>]]>
   </description>
   <pubDate>Fri, 18 Mar 2011 21:00:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63391&amp;title=howto-merge-cells-in-footer-rows#63391</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? : Hi;Any news about the release...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63390&amp;title=howto-merge-cells-in-footer-rows#63390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 18 March 2011 at 7:42pm<br /><br />Hi;<br><br>Any news about the release date? <br>Otherwise, is it possible to get the feature a little bit earlier?<img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><br>]]>
   </description>
   <pubDate>Fri, 18 Mar 2011 19:42:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63390&amp;title=howto-merge-cells-in-footer-rows#63390</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? : Hi,the merge item feature has...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63388&amp;title=howto-merge-cells-in-footer-rows#63388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 18 March 2011 at 5:33pm<br /><br />Hi,<br><br>the merge item feature has been rewritten for the next release. Merging header/footer items is now supported.<br><br>wndReport.GetHeaderRecords()-&gt;MergeItems(CXTPReportRecordItemRange(...));<br>wndReport.GetFooterRecords()-&gt;MergeItems(CXTPReportRecordItemRange(...));<br>wndReport.GetRecords()-&gt;MergeItems(CXTPReportRecordItemRange(...));<br><br>Andre<br><br>]]>
   </description>
   <pubDate>Fri, 18 Mar 2011 17:33:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63388&amp;title=howto-merge-cells-in-footer-rows#63388</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? : Thanks larryp; I&amp;#039;ll try it. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63160&amp;title=howto-merge-cells-in-footer-rows#63160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 07 March 2011 at 11:44am<br /><br />Thanks larryp; I'll try it.]]>
   </description>
   <pubDate>Mon, 07 Mar 2011 11:44:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63160&amp;title=howto-merge-cells-in-footer-rows#63160</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? :   You can try overriding the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63154&amp;title=howto-merge-cells-in-footer-rows#63154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=945">larryp</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 07 March 2011 at 9:24am<br /><br /><div></div><div>You can try overriding the Draw method of <font size="2">CXTPReportRecordItem and changing <span style='line-height: 115%; font-family: "Courier New"; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-no-proof: yes;'>pDrawArgs-&gt;rcItem.right <font face="Verdana">before calling&nbsp; </font><span style='line-height: 115%; font-family: "Courier New"; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-no-proof: yes;'>CXTPReportRecordItem::Draw( pDrawArgs )</span></span></font></div><div><font size="2"><span style='line-height: 115%; font-family: "Courier New"; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-no-proof: yes;'><span style='line-height: 115%; font-family: "Courier New"; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-no-proof: yes;'></span></span></font>&nbsp;</div><div><font size="2"><span style='line-height: 115%; font-family: "Courier New"; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-no-proof: yes;'><span style='line-height: 115%; font-family: "Courier New"; font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-: EN-US; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-no-proof: yes;'><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">int CMyItem::Draw(XTP_REPORTRECORDITEM_DRAWARGS* pDrawArgs)</div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">{</div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">&nbsp;&nbsp;&nbsp;&nbsp; // Change the rect to go all the way to the end of the row.</div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;"> &nbsp;&nbsp;&nbsp;&nbsp; pDrawArgs-&gt;rcItem.right = pDrawArgs-&gt;pRow-&gt;GetRect().right;<br></div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Handle&nbsp;condition where the calculated right is less than the left.</div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( pDrawArgs-&gt;rcItem.right &lt;= pDrawArgs-&gt;rcItem.left ) {</div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pDrawArgs-&gt;rcItem.right = pDrawArgs-&gt;rcItem.left + 100000;</div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br></div><div style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: n&#111;ne;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return CXTPReportRecordItem::Draw( pDrawArgs );</div><div style="margin: 0in 0in 10pt;">}</div><div style="margin: 0in 0in 10pt;">Seems to work for me in version 13.2.1</div><br><br></span></span></font></div>]]>
   </description>
   <pubDate>Mon, 07 Mar 2011 09:24:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63154&amp;title=howto-merge-cells-in-footer-rows#63154</guid>
  </item> 
  <item>
   <title><![CDATA[HOWTO: Merge cells in footer rows? : Hi;I need merged cells in footer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63151&amp;title=howto-merge-cells-in-footer-rows#63151</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 18010<br /><strong>Posted:</strong> 07 March 2011 at 8:18am<br /><br />Hi;<br><br>I need merged cells in footer rows, but can't find out how. The first x cells of the footer row should be merged into one cell, so that a big text can fit into this cell (see Screenshot):<br><br><img src="uploads/109/07-03-2011_14-14-00.png" height="107" width="963" border="0" /><br><br>How can I do that?<br>]]>
   </description>
   <pubDate>Mon, 07 Mar 2011 08:18:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18010&amp;PID=63151&amp;title=howto-merge-cells-in-footer-rows#63151</guid>
  </item> 
 </channel>
</rss>