<?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 : Adding Rows</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Adding Rows]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 00:48:34 +0000</pubDate>
  <lastBuildDate>Fri, 06 Aug 2010 12:50:20 +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=17065</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[Adding Rows : Hi,Mark  I would expect to add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17065&amp;PID=59665&amp;title=adding-rows#59665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17065<br /><strong>Posted:</strong> 06 August 2010 at 12:50pm<br /><br />Hi,&nbsp;Mark<DIV>&nbsp;</DIV><DIV>I would expect to add records with a predefined record (including the ReportItems) but it seems it can't be done. I tried with .CreateRecord and ReportRecord but it doesn't add the record (tried with <FONT color=#0000ff>Me.wndReportControl.AddRecordEx <EM>pRecord</EM> </FONT>) to Records collection. </DIV><DIV><strong>Question for support</strong>: should it be possible?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>@<strong>dailyblog</strong>: You can get value of a ReportItem:</DIV><DIV>&nbsp;</DIV><DIV>Me.wndReportControl.FocusSubItems = True <FONT color=#006600>'Enable focus for ReportItems</FONT></DIV><DIV>Me.wndReportControl.FocusedRow.Record.Item(Me.wndReportControl.FocusedColumn.ItemIndex).Value</DIV><DIV>&nbsp;</DIV><DIV><BR><BR>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 06 Aug 2010 12:50:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17065&amp;PID=59665&amp;title=adding-rows#59665</guid>
  </item> 
  <item>
   <title><![CDATA[Adding Rows : i exceptthere would be a easier...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17065&amp;PID=59618&amp;title=adding-rows#59618</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5374">dailyblog</a><br /><strong>Subject:</strong> 17065<br /><strong>Posted:</strong> 05 August 2010 at 12:25am<br /><br />i except&nbsp;there would be a easier way adding a row.<DIV>As you said,after a row is added with Records.Add, each item of the row should be added automaticly.</DIV><DIV>In addition,how can&nbsp;I&nbsp; get the value of a focused cell?The codes seems a bit more.Why can not we use ReportControl.Cell(row.index,col.index) ?</DIV>]]>
   </description>
   <pubDate>Thu, 05 Aug 2010 00:25:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17065&amp;PID=59618&amp;title=adding-rows#59618</guid>
  </item> 
  <item>
   <title><![CDATA[Adding Rows : Hi  For a long time I create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17065&amp;PID=59615&amp;title=adding-rows#59615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17065<br /><strong>Posted:</strong> 04 August 2010 at 10:14am<br /><br /><FONT face="Verdana, Arial, Helvetica, sans-serif">Hi</FONT><DIV>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">For a long time I create my columns with&nbsp; <strong>ReportControl1.Columns.Add 0, "Col1"</strong></FONT></DIV><DIV><strong><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT></strong>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Then I have to create a row with <strong>Set Record = wndReportControl.Records.Add</strong></FONT></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Then I have to create each column item within that row with <strong>Record.AddItem</strong> </FONT></DIV><DIV>&nbsp;</DIV><DIV>Should, or is there away to have the created Record&nbsp; by default have its ReportRecordItem created when the record is added.</DIV><DIV><strong></strong>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Mark</DIV>]]>
   </description>
   <pubDate>Wed, 04 Aug 2010 10:14:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17065&amp;PID=59615&amp;title=adding-rows#59615</guid>
  </item> 
 </channel>
</rss>