<?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 : GroupFormula</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : GroupFormula]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:30:19 +0000</pubDate>
  <lastBuildDate>Mon, 20 Apr 2015 12:47:04 +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=18987</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[GroupFormula : Thank you for bringing this to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=73268&amp;title=groupformula#73268</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8848">mcmastl</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 20 April 2015 at 12:47pm<br /><br />Thank you for bringing this to our attention, we have informed our development team and we will be looking into the issue. &nbsp;If the matter has been resolved please let us know. &nbsp;]]>
   </description>
   <pubDate>Mon, 20 Apr 2015 12:47:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=73268&amp;title=groupformula#73268</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : Hi everyone,I&amp;#039;ve fixed this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=72487&amp;title=groupformula#72487</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=19">mihey</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 12 May 2014 at 4:06am<br /><br />Hi everyone,<br /><br />I've fixed this issue in my case by patching the method StringToDouble of the CXTPReportRecordItem.  <br /><br />double CXTPReportRecordItem::StringToDouble(CString strText)<br />{<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TCHAR chSep&#091;4&#093;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_STHOUSAND, chSep, 4);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strText.Replace(chSep, "");<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TCHAR* locale = _tsetlocale(LC_NUMERIC, NULL);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (locale == NULL || _tcscmp(locale, _T("C")) == 0) // Not set<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strText.Replace(',', '.');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;double res = atof(XTP_CT2CA(strText));<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return res;<br />}<br /><br />Maybe CJ could take it over into their next release.<br />Best regards, Mikhail]]>
   </description>
   <pubDate>Mon, 12 May 2014 04:06:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=72487&amp;title=groupformula#72487</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula :   I have this same problem ---...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=67622&amp;title=groupformula#67622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4627">Andrew666</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 16 February 2012 at 9:00am<br /><br />I have this same problem --- it appears that SUMSUB uses the Caption of the item, not its Value property - so if I format the Caption in any way, the SUMSUB gives the wrong number.&nbsp; Surely this is a bug?<div>&nbsp;</div><div>Also, the SUMSUB behaviour doesn't appear to be as documented.&nbsp; If I use SUMSUB(C3:C6) for example, this appears to cause the total to be displayed in column 3 of the GroupRow, and sums the column 6 values.</div><div>&nbsp;</div><div>Using v15.2.1</div>]]>
   </description>
   <pubDate>Thu, 16 Feb 2012 09:00:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=67622&amp;title=groupformula#67622</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : In the BeforeDrawRow event the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=67056&amp;title=groupformula#67056</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 06 December 2011 at 9:41am<br /><br />In the BeforeDrawRow event the Grouprows are excluded from formatting. That's why the grouprow is not showing the right formatting. <DIV></DIV><DIV></DIV><DIV></DIV>This is some very bad programming and it has a small bug in it. But i shows it is possible to fix the formatting. <DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<BR>Dim lngGroupOrder&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As Long<BR>Dim lngStartPos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As Long<BR>&nbsp;&nbsp;&nbsp; If Not Row.groupRow Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Text = Format(Item.Caption, "### ### ###")<BR>&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lngStartPos = InStr(1, Metrics.Text, "&#091;" &amp; wndReportControl.GroupsOrder.Count &amp; "&#093;")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If lngStartPos &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Text = wndReportControl.GroupsOrder.Column(wndReportControl.GroupsOrder.Count - 1).Caption &amp; ": " &amp; Format(Mid(Metrics.Text, Len(wndReportControl.GroupsOrder.Column(wndReportControl.GroupsOrder.Count - 1).Caption) + 2, lngStartPos - Len(wndReportControl.GroupsOrder.Column(wndReportControl.GroupsOrder.Count - 1).Caption) - 2), "### ### ###") &amp; " &#091;" &amp; wndReportControl.GroupsOrder.Count &amp; "&#093;" &amp; Format(Mid(Metrics.Text, (lngStartPos + Len("&#091;" &amp; wndReportControl.GroupsOrder.Count &amp; "&#093;"))), "### ### ###")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Metrics.Text = wndReportControl.GroupsOrder.Column(wndReportControl.GroupsOrder.Count - 1).Caption &amp; ": " &amp; Format(Mid(Metrics.Text, Len(wndReportControl.GroupsOrder.Column(wndReportControl.GroupsOrder.Count - 1).Caption) + 2), "### ### ###")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV>]]>
   </description>
   <pubDate>Tue, 06 Dec 2011 09:41:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=67056&amp;title=groupformula#67056</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : Hi,  I don&amp;#039;t see problem......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=67055&amp;title=groupformula#67055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 06 December 2011 at 9:28am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I don't see problem... Can you be more specific?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 06 Dec 2011 09:28:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=67055&amp;title=groupformula#67055</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : Thank you for your answer! I looked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66971&amp;title=groupformula#66971</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5644">flado</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 30 November 2011 at 6:49am<br /><br />Thank you for your answer! I looked at your test project, but it seems that even there the formats of the totals are not correct:<div><img src="uploads/5644/totals.png" height="768" width="1366" border="0" /><br></div>]]>
   </description>
   <pubDate>Wed, 30 Nov 2011 06:49:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66971&amp;title=groupformula#66971</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : Hi,  I don&amp;#039;t see problem....  Here&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66733&amp;title=groupformula#66733</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 04 November 2011 at 9:18am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I don't see problem....</DIV><DIV>&nbsp;</DIV><DIV>Here's test project, maybe it will help you:&nbsp;&nbsp; <a href="http://forum.codejock.com/uploads/3701/&#070;ormulas.zip" target="_blank">uploads/3701/Formulas.zip</A></DIV><DIV>&nbsp;</DIV><DIV>Good luck <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Nov 2011 09:18:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66733&amp;title=groupformula#66733</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : Anyone?Thanks.... ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66651&amp;title=groupformula#66651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5644">flado</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 20 October 2011 at 10:16am<br /><br />Anyone?<div>Thanks....</div>]]>
   </description>
   <pubDate>Thu, 20 Oct 2011 10:16:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66651&amp;title=groupformula#66651</guid>
  </item> 
  <item>
   <title><![CDATA[GroupFormula : I recently updated to 15.1.3 thinking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66431&amp;title=groupformula#66431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5644">flado</a><br /><strong>Subject:</strong> 18987<br /><strong>Posted:</strong> 26 September 2011 at 4:58pm<br /><br />I recently updated to 15.1.3 thinking that it would solve my groupformula problems, but I can't seem to figure it out...<div><br></div><div>Here are my problems:</div><div>1. I use space as thousand separator - ie 1,000 becomes 1 000 &nbsp;- the control doesn't seem to be able to calculate this. Or is there a sepcial formula I should use?</div><div>2. I have a report in which I want to show the subsums of up to 12 columns in the group row. It seems I can't show more than 6 columns. Is this a limitation?</div><div><br></div><div>Please help as I have been struggling with this for a LOOONG time now...</div><div><br></div><div>using VDF 151 and CJ15.1.3 ActiveX COM</div><div><br></div><div>thanks</div><div>/Leif</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 26 Sep 2011 16:58:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18987&amp;PID=66431&amp;title=groupformula#66431</guid>
  </item> 
 </channel>
</rss>