<?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 : [DISCUSSION] Adding records...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [DISCUSSION] Adding records...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:31:46 +0000</pubDate>
  <lastBuildDate>Mon, 28 Jul 2008 11:12:00 +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=11586</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[[DISCUSSION] Adding records... :  Will be fixed in 12.0.2 (with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38998&amp;title=discussion-adding-records#38998</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11586<br /><strong>Posted:</strong> 28 July 2008 at 11:12am<br /><br /><DIV><DIV>Will be fixed in 12.0.2 (with fix for UpdateRecord)</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 11:12:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38998&amp;title=discussion-adding-records#38998</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Adding records... : Hi Andrei,  Thanks for clearing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38930&amp;title=discussion-adding-records#38930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11586<br /><strong>Posted:</strong> 27 July 2008 at 2:16am<br /><br />Hi Andrei,<DIV>&nbsp;</DIV><DIV>Thanks for clearing that up. If you look at it that way, you are right that AddRecordEx method is&nbsp;faster. My test shows when adding&nbsp;records with AddRecordEx it takes longer to load, lets say 10.000 records, than with AddRecord. </DIV><DIV>&nbsp;</DIV><DIV>QUESTION:</DIV><DIV>If you add a record with AddRecordEx, it will be added on the first row (<strong>if no .Populate call has been made</strong>) Is it possible to add it at the end?</DIV><DIV>&nbsp;</DIV><DIV>Thanks&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 27 Jul 2008 02:16:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38930&amp;title=discussion-adding-records#38930</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Adding records... : Hi, I am talking about adding...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38923&amp;title=discussion-adding-records#38923</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3233">AndreiM</a><br /><strong>Subject:</strong> 11586<br /><strong>Posted:</strong> 26 July 2008 at 2:19pm<br /><br /><DIV>Hi, <BR>I am talking about adding one or few (2,3 .. 20..) records to the existing big records set. <BR>For example on the loading you fill report control using AddRecord + Populate. Than if you need add few records later, on runtime, you may use AddRecordEx which is faster in this case than AddRecord + repopulate all records again.</DIV><DIV>&nbsp;</DIV><DIV>AddRecord just add record object to collection. <BR>Populate delete all raws, loop for records collection and create row for each record, sort rows if need and group rows if need.</DIV><DIV>&nbsp;</DIV><DIV>AddRecordEx add record object to collection, create row for new record only, find place in rows collection to insert new row, create group rows if need.</DIV><DIV>&nbsp;</DIV><DIV>Some of our customers have 'slow' and big data sources. They do not load all records at one time (because this takes long time).<BR>They create a working thread (or by timer) which load record part by part and add them one by one at runtime using AddRecordEx.</DIV><DIV>&nbsp;</DIV><DIV>-------------------------------------------------------------<BR>I have changed your sample to show performance difference. </DIV><DIV>&nbsp;&nbsp;&nbsp; <a href="http://forum.codejock.com/uploads/20080726_141810_AddRecordsEx_pe.zip" target="_blank">uploads/20080726_141810_AddRecordsEx_pe.zip</A><BR>On my computer AddRecordEx about 10 times faster then AddRecord + Populate when adding single record to existing records set.</DIV><DIV>&nbsp;</DIV><DIV><strong>Also</strong>, as&nbsp;I see your performance counter has not right calculation: if you click many times for one selected method - you can see very different results sometimes. I made more simple calculation in performance ticks by .Lo part only (Hi parts are the same).</DIV>]]>
   </description>
   <pubDate>Sat, 26 Jul 2008 14:19:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38923&amp;title=discussion-adding-records#38923</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Adding records... : Hi,   In my post FIXED BUGS:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38914&amp;title=discussion-adding-records#38914</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11586<br /><strong>Posted:</strong> 26 July 2008 at 3:31am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>In my post FIXED BUGS: ... Andrei mentioned that adding records with AddRecordsEx should be faster than AddRecords + Populate.&nbsp;I created a test project for this just to test which of the methods is faster and it seems that AddRecords + Populate is faster. I already said to Andrei that I surely made a mistake somewhere so that's why I created a test. Is there a better, faster, easier or whatever you can think of, I'm in to all ideas. Me like fast loading yes yes yes&nbsp;<img src="http://forum.codejock.com/smileys/smiley36.gif" border="0" />&nbsp;So here it is:</DIV><DIV>&nbsp;</DIV><DIV><a href="https://forum.codejock.com/uploads/20080726_033101_AddRecords.zip" target="_blank">uploads/20080726_033101_AddRecords.zip</A></DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 26 Jul 2008 03:31:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11586&amp;PID=38914&amp;title=discussion-adding-records#38914</guid>
  </item> 
 </channel>
</rss>