<?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] Reportcontrol vs Listview</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [DISCUSSION] Reportcontrol vs Listview]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:06:05 +0000</pubDate>
  <lastBuildDate>Mon, 21 Apr 2008 07:59:57 +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=9554</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] Reportcontrol vs Listview : Hi,  For those who want the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=34023&amp;title=discussion-reportcontrol-vs-listview#34023</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 21 April 2008 at 7:59am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>For those who want the same see post </DIV><DIV>&nbsp;</DIV><DIV><a href="http://forum.codejock.com/forum_posts.asp?TID=10243" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=10243</A></DIV>]]>
   </description>
   <pubDate>Mon, 21 Apr 2008 07:59:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=34023&amp;title=discussion-reportcontrol-vs-listview#34023</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : @aaroncould you possibly show...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33552&amp;title=discussion-reportcontrol-vs-listview#33552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 12 April 2008 at 7:36am<br /><br />@aaron<br><br>could you possibly show us the code how you load data from a recordset?<br>right now im still not using the cj report control as i am still using itgrid because of very fast data loading from recordset.<br><br>statements like: <br>set itgrid.datasource = rs can actually load 50,000 actual records from the database in half a second<br><br>maybe this could change (i may have the chance to use the report control) if i could get to know how to load recordset into the report control.<br><br>thanks<br>]]>
   </description>
   <pubDate>Sat, 12 Apr 2008 07:36:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33552&amp;title=discussion-reportcontrol-vs-listview#33552</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Hi,   I knew in advance that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33545&amp;title=discussion-reportcontrol-vs-listview#33545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 12 April 2008 at 2:22am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I knew in advance that the virtuallist couldn't be sorted, this isn't an issue. I was just explaining to my fellow CJ users how fast you can display a hugh amount of data.</DIV><DIV>&nbsp;</DIV><DIV>When assigning values to an array you don't have to put so much effort in it:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>fnum = FreeFile<BR>Open strFile For Input As fnum<BR>wholeFile = Input$(LOF(fnum), #fnum)<BR>Close fnum</DIV><DIV>&nbsp;</DIV><DIV>lines = Split(wholeFile, vbCrLf) <BR>numberOfRows = UBound(lines)<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>totalNumberOfRows = totalNumberOfRows + numberOfRows<BR>&nbsp;&nbsp;&nbsp; For R = 0 To numberOfRows - 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arrayItems(R) = Split(lines(R), ",")</DIV><DIV>&nbsp;&nbsp;&nbsp; next R</DIV><DIV>&nbsp;</DIV><DIV>Done..... 65000 records loaded in 1 second (800Mhz machine) and ready to use for the ReportControl. The tests I did with the 1,5 million records I did in the office (3.1 Mhz and lots of memory <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">)</DIV><DIV>&nbsp;</DIV><DIV><DIV>Well if you would use a recordset things get a little slower, you have to assign a value for each field and this will take time. I tested this and it will take about 2,5 seconds <strong>MORE</strong> to fill the data (65000 records, same machine!). So loading 1,5 million records would take 60-70 seconds longer. I think you better load the records directly into the reportControl and then you will have sorting.</DIV><DIV>&nbsp;</DIV><DIV><strong>OR</strong> do you have an idea of doing this in another way, could be, I'm open to all ideas.</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 12 Apr 2008 02:22:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33545&amp;title=discussion-reportcontrol-vs-listview#33545</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Did you try to connect tothe CSV...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33480&amp;title=discussion-reportcontrol-vs-listview#33480</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4049">Lodep59</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 11 April 2008 at 7:32am<br /><br />Did you try to connect to&nbsp;the CSV in ADO?<DIV>&nbsp;</DIV><DIV>I use the Ado CSV connector for many of my softs in vb6&nbsp;and the recovery of the recordset is rather fast even for hundreds of thousand lines.</DIV><DIV>&nbsp;</DIV><DIV>Once you have the recordset the order is easy.</DIV><DIV>&nbsp;</DIV><DIV>In fact, I do not see what CodeJock can make to by-pass the problem. The virtual mode imposes this kind of limitations i think.</DIV>]]>
   </description>
   <pubDate>Fri, 11 Apr 2008 07:32:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33480&amp;title=discussion-reportcontrol-vs-listview#33480</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Hi,  I load therows from a file...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33465&amp;title=discussion-reportcontrol-vs-listview#33465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 11 April 2008 at 4:27am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I load the&nbsp;rows from a file (csv) into an array, not from a database. When loading the rows into a recordset its taking a lot longer. You will have sorting thats true. I will have a look at it in the near future.</DIV><DIV>&nbsp;</DIV><DIV>Thanks anyway</DIV>]]>
   </description>
   <pubDate>Fri, 11 Apr 2008 04:27:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33465&amp;title=discussion-reportcontrol-vs-listview#33465</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : You could repopulate the control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33428&amp;title=discussion-reportcontrol-vs-listview#33428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 10 April 2008 at 11:30am<br /><br />You could repopulate the control when sorting, using ORDER BY on the query to the database.<br><br>]]>
   </description>
   <pubDate>Thu, 10 Apr 2008 11:30:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33428&amp;title=discussion-reportcontrol-vs-listview#33428</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Hi,  I did some tests with ReportControl&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33373&amp;title=discussion-reportcontrol-vs-listview#33373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 09 April 2008 at 4:44pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I did some tests with ReportControl's VirtualList. I would say this is a great control if you want to load lots of data.&nbsp;My app generates an event for every action&nbsp;and will be saved in a csv file.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Loading about 1000 files (contains 1,5 million rows with 11 cols)&nbsp;in 16 seconds, thats about 95.000 records in one second&nbsp;<img src="https://forum.codejock.com/smileys/smiley17.gif" border="0">&nbsp;</DIV><DIV>Internal memory decreased about 700 Mb, minor problem these days <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The rows will be loaded into an array and with the BeforeDrawRow shown to the user. Then the user wants to do a search operation in the super listview and plop in 0,0001 seconds the ReportRecordItem area will be painted in a color he/she selected and this with 20 search items at one time <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I know its only virtual but the user doesn't hahaha. Great !!!</DIV><DIV>&nbsp;</DIV><DIV>The only negative about the virtual list: you cannot <strong><U>sort</U></strong> items! Or you have to do the sorting within your array&nbsp;but that will take more time and we don't want that <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 09 Apr 2008 16:44:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=33373&amp;title=discussion-reportcontrol-vs-listview#33373</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Hi,   Suppose, I have a table...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=31154&amp;title=discussion-reportcontrol-vs-listview#31154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 13 February 2008 at 1:38pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Suppose, I have a table in database which contains about 1 million records, and I want to load the data into the report control. Do I have to add one&nbsp;record at a time to the report control or the entire table? And afterwards I can navigate through the items?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV>]]>
   </description>
   <pubDate>Wed, 13 Feb 2008 13:38:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=31154&amp;title=discussion-reportcontrol-vs-listview#31154</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Hi,Note that in virtual mode you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=31054&amp;title=discussion-reportcontrol-vs-listview#31054</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 11 February 2008 at 4:24pm<br /><br />Hi,<br><br>Note that in virtual mode you actually do not real records -- there is only 1 "virtual" record, which you can play with on various events handlers. The list is filled only with data for those records which are visible for a moment. In virtual mode there are no difference whether you have 1000 or millions records.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 16:24:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=31054&amp;title=discussion-reportcontrol-vs-listview#31054</guid>
  </item> 
  <item>
   <title><![CDATA[[DISCUSSION] Reportcontrol vs Listview : Hi,   When I looked at the sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=31027&amp;title=discussion-reportcontrol-vs-listview#31027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9554<br /><strong>Posted:</strong> 11 February 2008 at 3:48am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>When I looked at the sample where the reportcontrol is used in virtualmode and filling the list with lets say 1 million records in uhhh 1 second?!?! I thought wow!!!! This is what&nbsp;I need <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>But there's always a catch, I thought to myself. Is there? I'm currently using a listview to fill a large amount of records from a database.&nbsp;I don't know with which of the controls will have the best performance:&nbsp;Reportcontrol or Listview. Can someone tell me this? Maybe someone did a test with these controls, so a sample would be great of course, just to see the difference (in performance) between the 2 controls.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV>]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 03:48:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9554&amp;PID=31027&amp;title=discussion-reportcontrol-vs-listview#31027</guid>
  </item> 
 </channel>
</rss>