<?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 : Reading caption of group row - how to</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Reading caption of group row - how to]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 29 May 2026 23:17:41 +0000</pubDate>
  <lastBuildDate>Sun, 23 May 2010 11:05:37 +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=16739</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[Reading caption of group row - how to : Hi Aaron,  Thanks a lot! Will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58635&amp;title=reading-caption-of-group-row-how-to#58635</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 16739<br /><strong>Posted:</strong> 23 May 2010 at 11:05am<br /><br /><P>Hi Aaron,</P><DIV>&nbsp;</DIV><DIV>Thanks a lot! Will try that.</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Sun, 23 May 2010 11:05:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58635&amp;title=reading-caption-of-group-row-how-to#58635</guid>
  </item> 
  <item>
   <title><![CDATA[Reading caption of group row - how to : Hi Fabian,  I tried again and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58633&amp;title=reading-caption-of-group-row-how-to#58633</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16739<br /><strong>Posted:</strong> 23 May 2010 at 1:11am<br /><br />Hi Fabian,<DIV>&nbsp;</DIV><DIV>I tried again and it seems that you can only update GroupCaption immediately: assigning value to&nbsp;<U>GroupCaption</U> <strong>AND</strong> using <U>Metrics.Text</U> to display value</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV>Private Sub wndReportControl_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Dim reportGroupRow As XtremeReportControl.ReportGroupRow<BR>&nbsp;&nbsp;&nbsp; If Row.GroupRow Then<BR>&nbsp;&nbsp;&nbsp; Set reportGroupRow = Row<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reportGroupRow.GroupCaption = "<FONT color=#0000ff>What ever value you already assigned to Metrics.Text</FONT>"</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Metrics.Text = reportGroupRow.GroupCaption</strong>&nbsp;<EM>'This will update GroupCaption immediately otherwise it updates on next redraw</EM><BR>&nbsp;&nbsp;&nbsp; End If<BR></DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Sun, 23 May 2010 01:11:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58633&amp;title=reading-caption-of-group-row-how-to#58633</guid>
  </item> 
  <item>
   <title><![CDATA[Reading caption of group row - how to : Hi Fabian,  Metrics uses &amp;#034;copy&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58632&amp;title=reading-caption-of-group-row-how-to#58632</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16739<br /><strong>Posted:</strong> 22 May 2010 at 3:10pm<br /><br />Hi Fabian,<DIV>&nbsp;</DIV><DIV>Metrics uses "copy" of Row, Record etc.etc. collection not the other way around. If you want the .GroupRow caption to be reusable you have to assign value to it. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_BeforeDrawRow(ByVal Row As XtremeReportControl.IReportRow, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal Metrics As XtremeReportControl.IReportRecordItemMetrics)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Dim reportGroupRow As XtremeReportControl.ReportGroupRow<BR>&nbsp;&nbsp;&nbsp; If Row.GroupRow Then<BR>&nbsp;&nbsp;&nbsp; Set reportGroupRow = Row<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reportGroupRow.GroupCaption = "<FONT color=#0000ff>What ever value you already assigned to Metrics.Text</FONT>"<BR>&nbsp;&nbsp;&nbsp; End If<BR></DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Now the .GroupCaption value can be used.....&nbsp;and should work..... and it seems it doesn't work either&nbsp;<img src="http://forum.codejock.com/smileys/smiley5.gif" border="0">&nbsp;because assigning values to Row, Record and Item only get updated after <FONT size=3><strong>next</strong> </FONT>Redraw.&nbsp;This is very annoying&nbsp;because it will affect grouping as well (drag 2 columns to Groupbox and drag one back to the header and check the GroupCaption)</DIV><DIV>&nbsp;</DIV><DIV>I will add this to my list and ask CJ to fix this because there are more problems than just this&nbsp;and thanks for reminding me <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; </DIV>]]>
   </description>
   <pubDate>Sat, 22 May 2010 15:10:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58632&amp;title=reading-caption-of-group-row-how-to#58632</guid>
  </item> 
  <item>
   <title><![CDATA[Reading caption of group row - how to : Hi all  I try to get the text...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58631&amp;title=reading-caption-of-group-row-how-to#58631</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=841">Fabian</a><br /><strong>Subject:</strong> 16739<br /><strong>Posted:</strong> 22 May 2010 at 11:12am<br /><br />Hi all<DIV>&nbsp;</DIV><DIV>I try to get the text of a group row that I set with Metrics.Text. GroupCaption returns "" or the value I set previously with .GroupCaption="...". Is it really not possible to get the effectively displayed text of a group row or do I miss something?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for any help</DIV><DIV>Fabian</DIV>]]>
   </description>
   <pubDate>Sat, 22 May 2010 11:12:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16739&amp;PID=58631&amp;title=reading-caption-of-group-row-how-to#58631</guid>
  </item> 
 </channel>
</rss>