<?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 : [SOLVED] Printing FooterRows</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Printing FooterRows]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:11:00 +0000</pubDate>
  <lastBuildDate>Mon, 11 Apr 2011 02:47:31 +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=18062</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[[SOLVED] Printing FooterRows : Thanks for that ABuenger.   ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63811&amp;title=solved-printing-footerrows#63811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 11 April 2011 at 2:47am<br /><br />Thanks for that ABuenger.]]>
   </description>
   <pubDate>Mon, 11 Apr 2011 02:47:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63811&amp;title=solved-printing-footerrows#63811</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows :  - Uncheck &amp;#034;pin footer rows...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63804&amp;title=solved-printing-footerrows#63804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 10 April 2011 at 7:13pm<br /><br /><img src="uploads/1755/pinprint.png" height="425" width="634" border="0" /><br><br>- Uncheck "pin footer rows printed"<br>- File &gt; Print preview<br><br><a href="uploads/1755/ReportSample_18062.zip" target="_blank">uploads/1755/ReportSample_18062.zip</a><br><br><br><br>]]>
   </description>
   <pubDate>Sun, 10 Apr 2011 19:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63804&amp;title=solved-printing-footerrows#63804</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows : Added for the next release: PinFooterRowsPrintedBy...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63797&amp;title=solved-printing-footerrows#63797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 08 April 2011 at 6:30pm<br /><br />Added for the next release: PinFooterRowsPrinted<br>By default it is True, so you have to set it to False.<br><br>]]>
   </description>
   <pubDate>Fri, 08 Apr 2011 18:30:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63797&amp;title=solved-printing-footerrows#63797</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows : Hi xander75,This is what I was...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63511&amp;title=solved-printing-footerrows#63511</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6696">cbs</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 23 March 2011 at 11:35am<br /><br />Hi xander75,<br><br>This is what I was looking for. I appreciate the help.<br><br>Thanks,<br>cbs<br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 11:35:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63511&amp;title=solved-printing-footerrows#63511</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows : Hi cbs,Sure I can share how I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63510&amp;title=solved-printing-footerrows#63510</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 23 March 2011 at 9:32am<br /><br />Hi cbs,<br><br>Sure I can share how I did this.<br><br>Below is an snippet of code I added when setting up the ReportControl. This will create the FooterRow at the bottom of the ReportControl. I also used BeforeDrawRow to right align the text "Totals:". Then I have a procedure I call to calculate the totals if the user makes a change in the ValueChanged event.<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub GridSetup()<br>&nbsp;&nbsp;&nbsp; With rpcGrid<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Add your column structure and other settings here...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Used to format the Data in rows, i.e. Right align the text Totals: in the screenshot in my original post<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SetCustomDraw xtpCustomBeforeDrawRow<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Show Footer Row...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowFooterRows = True<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .FooterRecords.Add<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem vbNullString<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "Totals:"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Populate<br>&nbsp;&nbsp;&nbsp; End With<br>End Sub<br><br>Private Sub rpcGrid_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<br>&nbsp;&nbsp;&nbsp; If Trim$(Item.Record(1).Value) = "Totals:" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Row.Record(1).Alignment = xtpAlignmentRight<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.BackColor = &amp;HE7FFE5<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub<br><br>Private Sub CalculateFooterRow()<br>&nbsp;&nbsp;&nbsp; ' Reset the Footer Row to be zero<br>&nbsp;&nbsp;&nbsp; With rpcGrid<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(2).Value = "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(3).Value = "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(4).Value = "0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(5).Value = "0"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim Record As ReportRecord<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To .Records.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Record = .Records.Record(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(2).Value = CDbl(.FooterRecords.Record(0).Item(2).Value) + CDbl(Record.Item(2).Value)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(3).Value = CDbl(.FooterRecords.Record(0).Item(3).Value) + CDbl(Record.Item(3).Value)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(4).Value = CDbl(.FooterRecords.Record(0).Item(4).Value) + CDbl(Record.Item(4).Value)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(5).Value = CDbl(.FooterRecords.Record(0).Item(5).Value) + CDbl(Record.Item(5).Value)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(3).Value = Format$(.FooterRecords.Record(0).Item(3).Value, "########0.000")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(4).Value = Format$(.FooterRecords.Record(0).Item(4).Value, "########0.000")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FooterRecords.Record(0).Item(5).Value = Format$(.FooterRecords.Record(0).Item(5).Value, "########0.000")<br>&nbsp;&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br><br>Hope this helps.<br><br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 09:32:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63510&amp;title=solved-printing-footerrows#63510</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows : Hi Xander75,I have looked at various...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63469&amp;title=solved-printing-footerrows#63469</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6696">cbs</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 22 March 2011 at 12:03pm<br /><br />Hi Xander75,<br><br>I have looked at various ways to add totals in the footer row. Can you share how you implemented the footer totals?<br><br>Thanks,<br>CBS<br>]]>
   </description>
   <pubDate>Tue, 22 Mar 2011 12:03:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63469&amp;title=solved-printing-footerrows#63469</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows : Hi,Thanks for the response on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63382&amp;title=solved-printing-footerrows#63382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 18 March 2011 at 9:19am<br /><br />Hi,<br><br>Thanks for the response on this. <br><br>I was confused as I had not pinned the FooterRow so I thought it would print at the bottom as it displays on screen. Pinning the FooterRow means it's displayed as it is shown in the Print Preview screenshot, so I wasn't sure if I was missing something or not.<br><br>I just believe in consistency i.e. if it displays that way then the print should also display that way, will look out for this in the next few releases.<br><br>Thanks again.<br>]]>
   </description>
   <pubDate>Fri, 18 Mar 2011 09:19:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63382&amp;title=solved-printing-footerrows#63382</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows : Hi,there is currently no such...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63381&amp;title=solved-printing-footerrows#63381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 18 March 2011 at 9:13am<br /><br />Hi,<br><br>there is currently no such option. We will add it to one of the next releases.<br><br>Andre<br><br>]]>
   </description>
   <pubDate>Fri, 18 Mar 2011 09:13:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63381&amp;title=solved-printing-footerrows#63381</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Printing FooterRows :  Hi,I have a added a FooterRow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63350&amp;title=solved-printing-footerrows#63350</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18062<br /><strong>Posted:</strong> 16 March 2011 at 11:57am<br /><br />Hi,<br><br>I have a added a FooterRow to the ReportControl in order to be used to display totals, which works perfectly <i>(see screenshot below)</i>. <br><br><img src="uploads/2960/FooterRow_Print.png" height="679" width="1062" border="0" /><br><br>The Issue I have is that when I print the ReportControl the FooterRow is no longer at the bottom of the Printed Report, instead it is located after the last Grid Row record <i>(technically still at the bottom!)</i>. However I would prefer the FooterRow to stay as it is in the ReportControl.<br><br><img src="uploads/2960/FooterRow_PrintPreview.png" height="785" width="939" border="0" /><br><br>Does anyone know if there is a setting to do this?<br><br>]]>
   </description>
   <pubDate>Wed, 16 Mar 2011 11:57:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18062&amp;PID=63350&amp;title=solved-printing-footerrows#63350</guid>
  </item> 
 </channel>
</rss>