<?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 : How to Append a new row</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to Append a new row]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 16:34:13 +0000</pubDate>
  <lastBuildDate>Mon, 07 Jul 2008 12:53:53 +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=11188</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[How to Append a new row : Hi,  To prove it works as I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37907&amp;title=how-to-append-a-new-row#37907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 07 July 2008 at 12:53pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>To prove it works as I say, here's a test project. Maybe you do something wrong, I don't know. Check the sample project yourself <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080707_125342_AddRecordEx.zip" target="_blank">uploads/20080707_125342_AddRecordEx.zip</A></DIV>]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 12:53:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37907&amp;title=how-to-append-a-new-row#37907</guid>
  </item> 
  <item>
   <title><![CDATA[How to Append a new row :   Aaron wrote:Hi,   I don&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37906&amp;title=how-to-append-a-new-row#37906</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2344">slvrbllt</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 07 July 2008 at 11:56am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I don't see a difference with AddRecord and AddRecordEx when adding <strong>NEW</strong> records to RC. You have to add your items anyway to the record itself (loop or no loop, you have to "create" the record anyway). But maybe I see it wrong and I would love to see a sample that would change my opinion. </DIV><DIV>&nbsp;</DIV><DIV>But for your issue: I think you don't Call wndReportControl.Populate after you added the record</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi Aaron,</DIV><DIV>&nbsp;</DIV><DIV>Sorry for getting back to you so late, but I've been away for a while.</DIV><DIV>Your suggestion doesn't help at all ! :-)</DIV><DIV>&nbsp;</DIV><DIV>Like I said, AddRecordEx actually adds a new record on TOP of the others instead of at the bottom of the list, just like AddRecord does.</DIV><DIV>&nbsp;</DIV><DIV>Anyway thank you for your replies. :-)</DIV><DIV>&nbsp;</DIV><DIV>Bye.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 11:56:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37906&amp;title=how-to-append-a-new-row#37906</guid>
  </item> 
  <item>
   <title><![CDATA[How to Append a new row : Hi,  I thought so... Glad I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37515&amp;title=how-to-append-a-new-row#37515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 27 June 2008 at 10:04am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I thought so... Glad I could help you.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 10:04:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37515&amp;title=how-to-append-a-new-row#37515</guid>
  </item> 
  <item>
   <title><![CDATA[How to Append a new row : Hi,  I don&amp;#039;t see a difference...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37395&amp;title=how-to-append-a-new-row#37395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 25 June 2008 at 5:37am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I don't see a difference with AddRecord and AddRecordEx when adding <strong>NEW</strong> records to RC. You have to add your items anyway to the record itself (loop or no loop, you have to "create" the record anyway). But maybe I see it wrong and I would love to see a sample that would change my opinion. </DIV><DIV>&nbsp;</DIV><DIV>But for your issue: I think you don't Call wndReportControl.Populate after you added the record</DIV>]]>
   </description>
   <pubDate>Wed, 25 Jun 2008 05:37:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37395&amp;title=how-to-append-a-new-row#37395</guid>
  </item> 
  <item>
   <title><![CDATA[How to Append a new row : Thanks for your reply, Aaron! I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37389&amp;title=how-to-append-a-new-row#37389</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2344">slvrbllt</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 25 June 2008 at 4:24am<br /><br /><P>Thanks for your reply, Aaron!</P><DIV>I am afraid I haven't been clear enough. Sorry for that! </DIV><DIV>I surely now how to add a new row using the "Add" method. Infact my question included the clause <strong>"by using the AddRecordEx method"</strong></DIV><DIV>&nbsp;</DIV><DIV>Oddly the ".Add" method appends a row at the end, while ".AddRecordEx" insert it at the top ! I expected that all the "Add..." methods behaved consistently...</DIV><DIV>You'd surely agree that&nbsp;it is much more easier to insert a new record by typing:</DIV><DIV>&nbsp;</DIV><DIV>ReportControl.AddRecordEx <EM>newRecordObject</EM></DIV><DIV>&nbsp;</DIV><DIV>instead of going through a loop!</DIV><DIV>&nbsp;</DIV><DIV>Any other clues ? Oleg ? :-)</DIV>]]>
   </description>
   <pubDate>Wed, 25 Jun 2008 04:24:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37389&amp;title=how-to-append-a-new-row#37389</guid>
  </item> 
  <item>
   <title><![CDATA[How to Append a new row : Hi,  Just use:  Dim i, j As...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37348&amp;title=how-to-append-a-new-row#37348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 24 June 2008 at 11:27am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Just use:</DIV><DIV>&nbsp;</DIV><DIV>Dim i, j As Long<BR>Dim <FONT color=#ff0000>XtremeRecord </FONT>As XtremeReportControl.ReportRecord<BR>Dim <FONT color=#00ff00>XtremeRecordItem </FONT>As XtremeReportControl.ReportRecordItem</DIV><DIV><BR>&nbsp;&nbsp;&nbsp; For i = 0 To 10<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set <FONT color=#ff0000>XtremeRecord </FONT>= <strong><FONT color=#0000ff>wndReportControl.Records.Add()</FONT><BR></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For j = 0 To 10<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set <FONT color=#00ff00>XtremeRecordItem </FONT>= <FONT color=#ff0000>XtremeRecord</FONT>.AddItem(i &amp; " - " &amp; j)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next j<BR>&nbsp;&nbsp;&nbsp; Next i</DIV>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 11:27:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37348&amp;title=how-to-append-a-new-row#37348</guid>
  </item> 
  <item>
   <title><![CDATA[How to Append a new row : Hello, I would like to insert...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37347&amp;title=how-to-append-a-new-row#37347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2344">slvrbllt</a><br /><strong>Subject:</strong> 11188<br /><strong>Posted:</strong> 24 June 2008 at 11:15am<br /><br /><P>Hello,</P><P>I would like to insert a new record at the very bottom of an existing Report control by using the AddRecordEx method.</P><P>Unfortunately the new&nbsp;row is always added on top of the other rows and not at the end of the list.</P><P>&#091;...&#093;<BR>Dim tmpRec As ReportControl</P><P>'Create tmpRec and populate its items</P><P>OtherObject.rptList.AddRecordEx tmpRec<BR>&#091;...&#093;</P><P>Any clue ?</P><P>Maurizio</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 24 Jun 2008 11:15:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11188&amp;PID=37347&amp;title=how-to-append-a-new-row#37347</guid>
  </item> 
 </channel>
</rss>