<?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: Change ReportRecordItem through code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : SOLVED: Change ReportRecordItem through code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 00:03:40 +0000</pubDate>
  <lastBuildDate>Wed, 02 Jul 2008 16:23:26 +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=11267</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: Change ReportRecordItem through code : Yes that is it THANK YOU ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37739&amp;title=solved-change-reportrecorditem-through-code#37739</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4182">rplp4</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 02 July 2008 at 4:23pm<br /><br />Yes that is it<DIV>THANK YOU</DIV>]]>
   </description>
   <pubDate>Wed, 02 Jul 2008 16:23:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37739&amp;title=solved-change-reportrecorditem-through-code#37739</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Change ReportRecordItem through code : Hi,  You want to loop through...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37692&amp;title=solved-change-reportrecorditem-through-code#37692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 02 July 2008 at 1:10am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>You want to loop through the records? Why don't you say that in the first place <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV><strong>MSFlexGrid:</strong></DIV><DIV>&nbsp;</DIV><DIV>Dim i, e As Integer</DIV><DIV>For i = 1 To MSFlexGrid1.Rows - 1<BR>&nbsp;&nbsp;&nbsp; For e = 0 To MSFlexGrid1.Cols - 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveData = SaveData &amp; MSFlexGrid1.TextMatrix(i, e) &amp; ","<BR>&nbsp;&nbsp;&nbsp; Next e<BR>&nbsp;&nbsp;&nbsp; If MSFlexGrid1.TextMatrix(i, 4) = "1" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSFlexGrid1.TextMatrix(i, 4) = "2"<BR>&nbsp;&nbsp;&nbsp; End If<BR>Next i<BR></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong>ReportControl:</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><DIV>&nbsp;&nbsp;&nbsp; Dim recordRow As XtremeReportControl.ReportRecord<BR>&nbsp;&nbsp;&nbsp; Dim recordCol As XtremeReportControl.ReportRecordItem<BR>&nbsp;&nbsp;&nbsp; Dim SaveData As String<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; For Each recordRow In wndReportControl.Records<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each recordCol In recordRow<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If recordRow(4).Caption = "1" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; recordRow(4).Caption = "2"</DIV><DIV>&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; SaveData = SaveData &amp; recordRow(recordCol.Index).Caption &amp; ","<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next recordCol<BR>&nbsp;&nbsp;&nbsp; Next recordRow<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; wndReportControl.Populate 'if changes have been made to records, update ReportControl. You <strong>must</strong> in order to see the changes</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Wed, 02 Jul 2008 01:10:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37692&amp;title=solved-change-reportrecorditem-through-code#37692</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Change ReportRecordItem through code : I am not sure I understand or...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37673&amp;title=solved-change-reportrecorditem-through-code#37673</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4182">rplp4</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 01 July 2008 at 4:44pm<br /><br /><P>I am not sure I understand or I have not explained what I would like to do.&nbsp;&nbsp; I do not what to edit the cell with a mouse click or when it has focus.&nbsp;&nbsp; I what to make the change when a command button is clicked.&nbsp;&nbsp; The user is not entering anything in to the control.</P><P>How can I loop through the cells as in the MSFlexGrid example above?</P>]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 16:44:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37673&amp;title=solved-change-reportrecorditem-through-code#37673</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Change ReportRecordItem through code : Hi,  wndReportControl.FocusSubItems...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37672&amp;title=solved-change-reportrecorditem-through-code#37672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 01 July 2008 at 3:31pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>wndReportControl.FocusSubItems = True &gt; you can see which cell is focused<BR></DIV><DIV>wndReportControl.AllowEdit = True &gt; allow editing ReportRecordItems<BR>wndReportControl.EditOnClick = True &gt; single click = editmode <BR>wndReportControl.EditOnClick = False &gt; double click = editmode <BR></DIV><DIV>and use the events when value changes</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 15:31:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37672&amp;title=solved-change-reportrecorditem-through-code#37672</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Change ReportRecordItem through code : Thank you, but how do I use the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37670&amp;title=solved-change-reportrecorditem-through-code#37670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4182">rplp4</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 01 July 2008 at 2:12pm<br /><br />Thank you, but how do I use the events to change the cell value?&nbsp;&nbsp; It looks like the events will let me know when the user is changing a value.]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 14:12:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37670&amp;title=solved-change-reportrecorditem-through-code#37670</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Change ReportRecordItem through code : Hi,   Set wndReportControl.AllowEdit...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37659&amp;title=solved-change-reportrecorditem-through-code#37659</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 01 July 2008 at 10:50am<br /><br /><P>Hi,</P><DIV></DIV><DIV></DIV><P>Set wndReportControl.AllowEdit = True</P><DIV>and use these events&nbsp;to change the data&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Sub wndReportControl_InplaceEditChanging(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, NewValue As String, Cancel As Boolean)</DIV><P>End Sub</P><P>Private Sub wndReportControl_ValueChanged(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem)</P><P>End Sub</P><P>Private Sub wndReportControl_ValueChanging(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, NewValue As Variant, Cancel As Boolean)</P><P>End Sub<BR></P>]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 10:50:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37659&amp;title=solved-change-reportrecorditem-through-code#37659</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Change ReportRecordItem through code : I have been using MSFlexGrid and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37656&amp;title=solved-change-reportrecorditem-through-code#37656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4182">rplp4</a><br /><strong>Subject:</strong> 11267<br /><strong>Posted:</strong> 01 July 2008 at 9:44am<br /><br />I have been using MSFlexGrid and would like to use the report control.&nbsp;&nbsp; I have populated the report control.&nbsp;&nbsp; I can not know how to edit a cell through code.&nbsp;&nbsp; Will you please show how I can do the same as below code with the report control. <DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Dim i, e As Integer</DIV><DIV>For i = 1 To MSFlexGrid1.Rows - 1<BR>&nbsp;&nbsp;&nbsp; For e = 0 To MSFlexGrid1.Cols - 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveData = SaveData &amp; MSFlexGrid1.TextMatrix(i, e) &amp; ","<BR>&nbsp;&nbsp;&nbsp; Next e<BR>&nbsp;&nbsp;&nbsp; If MSFlexGrid1.TextMatrix(i, 4) = "1" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSFlexGrid1.TextMatrix(i, 4) = "2"<BR>&nbsp;&nbsp;&nbsp; End If<BR>Next i<BR></DIV>]]>
   </description>
   <pubDate>Tue, 01 Jul 2008 09:44:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11267&amp;PID=37656&amp;title=solved-change-reportrecorditem-through-code#37656</guid>
  </item> 
 </channel>
</rss>