<?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 with Formulas</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report with Formulas]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 06:42:10 +0000</pubDate>
  <lastBuildDate>Tue, 05 Oct 2010 16:32:08 +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=13976</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 with Formulas : You can just put the item count...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60713&amp;title=report-with-formulas#60713</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6402">RJAMIN</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 05 October 2010 at 4:32pm<br /><br />You can just put the item count in the caption. Example:<DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_GroupOrderChangedEx(ByVal sender As Object, ByVal e As AxXtremeReportControl._DReportControlEvents_GroupOrderChangedExEvent) Handles wndReportControl.GroupOrderChangedEx<BR>&nbsp;&nbsp;&nbsp; Dim row As Integer<BR>&nbsp;&nbsp;&nbsp; Dim sumSub As String<BR>&nbsp;&nbsp;&nbsp; Dim groupRow As XtremeReportControl.ReportGroupRow</DIV><DIV>&nbsp;&nbsp;&nbsp; If ((e.reason And XTPReportColumnOrderChangedReason.xtpReportColumnAddedToGroupby) = XTPReportColumnOrderChangedReason.xtpReportColumnAddedToGroupby) Or _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((e.reason And XTPReportColumnOrderChangedReason.xtpReportColumnRemovedFromGroupby) = XTPReportColumnOrderChangedReason.xtpReportColumnRemovedFromGroupby) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sumSub = "SUMSUB(C6:C7)"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For row = 0 To (wndReportControl.Rows.Count - 1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (wndReportControl.Rows(row).GroupRow) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupRow = wndReportControl.Rows(row)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupRow.GroupFormula = sumSub<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupRow.GroupFormat = "%0.2f"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>groupRow.GroupCaption = (" (" + groupRow.Childs().Count.ToString() + " items)")</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV>]]>
   </description>
   <pubDate>Tue, 05 Oct 2010 16:32:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60713&amp;title=report-with-formulas#60713</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas :  Hi Can somebody help me to display...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60193&amp;title=report-with-formulas#60193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6358">Ajit</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 14 September 2010 at 1:07pm<br /><br />Hi<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Can somebody help me to display total in group rows. as shown in following screenshot.<br><br><img src="uploads/20100901_081347_Codejock2.jpg" height="626" width="778" border="0"><br><br>available example in this forum is in VB. what will be the equivalent code in VC++.<br><br>Thanx in advance.<br><br>]]>
   </description>
   <pubDate>Tue, 14 Sep 2010 13:07:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60193&amp;title=report-with-formulas#60193</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas :    &amp;#039;&amp;#039;Espero que les...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60025&amp;title=report-with-formulas#60025</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6273">jequita2009</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 02 September 2010 at 1:50pm<br /><br /><b>''Espero que les sirva <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"><br>''Esto es en caso no se sabe que columna es numérica o no.<br></b><span id="result_" =""><span style="" title="">''I hope you learn<br></span><span title="">''This is in case you do not know which column is numeric or not.</span></span><br><b><br>Private Sub RC_GroupOrderChangedEx(ByVal Column As XtremeReportControl.IReportColumn, ByVal Reason As XtremeReportControl.XTPReportColumnOrderChangedReason)<br>&nbsp;&nbsp;&nbsp; Dim i As Integer<br>&nbsp;&nbsp;&nbsp; Dim j As Integer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim Row As ReportRow<br>&nbsp;&nbsp;&nbsp; Dim groupRow As ReportGroupRow<br>&nbsp;&nbsp;&nbsp; Dim xRecord As XtremeReportControl.ReportRecord<br>&nbsp;&nbsp;&nbsp; Dim xRecordItem As XtremeReportControl.ReportRecordItem<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Dim CadenaSumSub As String<br>&nbsp;&nbsp;&nbsp; CadenaSumSub = SumSub<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; If Reason &amp; xtpReportColumnAddedToGroupby Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For j = 0 To RC.Columns.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If RC.Columns(j).Tag = "N" Then&nbsp;&nbsp; ''If numeric<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To RC.Rows.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Row = RC.Rows(i)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; End If<br><br>End Sub<br>&nbsp;</b>]]>
   </description>
   <pubDate>Thu, 02 Sep 2010 13:50:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60025&amp;title=report-with-formulas#60025</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas :   &amp;#039;&amp;#039;establishing the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60024&amp;title=report-with-formulas#60024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6273">jequita2009</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 02 September 2010 at 1:49pm<br /><br /><span id="result_" =""><span style="" title="">''establishing the following function to generate a string:</span></span><br><br>Private Function SumSub() As String<br>&nbsp;&nbsp;&nbsp; Dim SumSubf As String<br>&nbsp;&nbsp;&nbsp; Dim cadena As String<br>&nbsp;&nbsp;&nbsp; cadena = " "<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; For x = 0 To RC.Columns.Count - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RC.Columns(x).Tag = G_Header(1, x)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If RC.Columns(x).Tag = "N" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SumSubf = "SUMSUB(C" &amp; x &amp; ":C" &amp; x + 1 &amp; ")"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cadena = cadena + SumSubf<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; SumSub = cadena<br>&nbsp;&nbsp; &nbsp;<br>End Function<br><br>]]>
   </description>
   <pubDate>Thu, 02 Sep 2010 13:49:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=60024&amp;title=report-with-formulas#60024</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas : I finally discovered CXTPReportColumn::SetTreeColumn() ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=58874&amp;title=report-with-formulas#58874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3068">davidbeane</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 09 June 2010 at 2:12pm<br /><br />I finally discovered CXTPReportColumn::SetTreeColumn()<br />]]>
   </description>
   <pubDate>Wed, 09 Jun 2010 14:12:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=58874&amp;title=report-with-formulas#58874</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas : Could you possibly give a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=58846&amp;title=report-with-formulas#58846</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3068">davidbeane</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 08 June 2010 at 4:09pm<br /><br />Could you possibly give a sample of the code used to insert the records into the control as in the screenshot displayed?<br />(The original screenshot in the first post)<br /><br />Not the formulas, just how to insert the grouped rows.<br /><br />I cannot figure out how to insert data in a hierarchical format like that.]]>
   </description>
   <pubDate>Tue, 08 Jun 2010 16:09:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=58846&amp;title=report-with-formulas#58846</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas : Hi  Is it possible to print grouprow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=56745&amp;title=report-with-formulas#56745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5262">blackeagle</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 11 February 2010 at 12:48pm<br /><br />Hi <DIV>Is it possible to print grouprow item's count with formula at group caption?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/20100211_124736_2010-02-11_1937.png" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 11 Feb 2010 12:48:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=56745&amp;title=report-with-formulas#56745</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas : Though this is a nice add-on,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=56023&amp;title=report-with-formulas#56023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 06 January 2010 at 8:18pm<br /><br />Though this is a nice add-on, I still think this kind of functionality belongs in a separate Grid-control. You will most likely end up having to refactor this code later on... :(]]>
   </description>
   <pubDate>Wed, 06 Jan 2010 20:18:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=56023&amp;title=report-with-formulas#56023</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas : Looks pretty interesting and useful....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=56000&amp;title=report-with-formulas#56000</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2657">Algae</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 05 January 2010 at 9:12pm<br /><br />Looks pretty interesting and useful. If there was a group "footer" totals could display on the end of group line so you could do sub-reports.<br><br>something like:<br><br>Group Header<br>-------<br>Item 1,1&nbsp; Item 1,2 &nbsp;&nbsp; Item 1.3<br>Item 2.1&nbsp; Item 2.2&nbsp;&nbsp;&nbsp; Item 2.3<br>.... etc<br>______<br>Group Footer Total&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total<br>]]>
   </description>
   <pubDate>Tue, 05 Jan 2010 21:12:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=56000&amp;title=report-with-formulas#56000</guid>
  </item> 
  <item>
   <title><![CDATA[Report with Formulas : see snapshot of new feature -...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=55974&amp;title=report-with-formulas#55974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13976<br /><strong>Posted:</strong> 04 January 2010 at 3:56pm<br /><br />see snapshot of new feature - <a href="https://support.codejock.com/Attachments/20091228-140707_GroupRowsWithMultipleSubtotals.jpg" target="_blank">https://support.codejock.com/Attachments/20091228-140707_GroupRowsWithMultipleSubtotals.jpg</A>]]>
   </description>
   <pubDate>Mon, 04 Jan 2010 15:56:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13976&amp;PID=55974&amp;title=report-with-formulas#55974</guid>
  </item> 
 </channel>
</rss>