<?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 : report c&#111;ntrol_ADO</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : report c&#111;ntrol_ADO]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 11:25:43 +0000</pubDate>
  <lastBuildDate>Fri, 03 Dec 2004 23:03:59 +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=1295</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[report c&#111;ntrol_ADO : thanks You&amp;#039;re right, the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=4257&amp;title=report-control-ado#4257</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=790">dlord</a><br /><strong>Subject:</strong> 1295<br /><strong>Posted:</strong> 03 December 2004 at 11:03pm<br /><br /><P>thanks</P><P>You're right, the nulls will get you. I tested 30,000 records into one report today. 14 columns. It worked with no problems. Well, the only thing was it's slows a bit as&nbsp;the memory swells. which is all expected. Good tool.</P><P>dlord</P>]]>
   </description>
   <pubDate>Fri, 03 Dec 2004 23:03:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=4257&amp;title=report-control-ado#4257</guid>
  </item> 
  <item>
   <title><![CDATA[report c&#111;ntrol_ADO : There isn&amp;#039;t a problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=4248&amp;title=report-control-ado#4248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1295<br /><strong>Posted:</strong> 03 December 2004 at 6:42am<br /><br />There isn't a problem with the size of the database, the problem is with "NULL" values.<br><br>Here is the necessary modifications to make this code work.<br><br><table width="99%"><tr><td><pre class="BBcode"><br>While Not rs.EOF<br>Set Record = RC1.Records.Add<br> Set Item = Record.AddItem(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Value = rs(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Icon = 0<br>&nbsp;&nbsp;Set Item = Record.AddItem(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Value = IIf(IsNull(rs(1).Value), "Null", rs(1))<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Icon = 1<br>&nbsp;&nbsp;Set Item = Record.AddItem(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Value = IIf(IsNull(rs(2).Value), "Null", rs(2))<br>&nbsp;&nbsp;Set Item = Record.AddItem(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Value = IIf(IsNull(rs(3).Value), "Null", rs(3))<br>&nbsp;&nbsp;Set Item = Record.AddItem(0)<br>&nbsp;&nbsp;&nbsp;&nbsp;Item.Value = IIf(IsNull(rs(4).Value), "Null", rs(4))<br>&nbsp;&nbsp;&nbsp;&nbsp;rs.MoveNext<br>&nbsp;&nbsp;&nbsp; i = i + 1<br>Wend<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Fri, 03 Dec 2004 06:42:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=4248&amp;title=report-control-ado#4248</guid>
  </item> 
  <item>
   <title><![CDATA[report c&#111;ntrol_ADO : Is there an update on this..?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=4245&amp;title=report-control-ado#4245</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=790">dlord</a><br /><strong>Subject:</strong> 1295<br /><strong>Posted:</strong> 02 December 2004 at 9:54pm<br /><br />Is there an update on this..? My db is approaching this size.]]>
   </description>
   <pubDate>Thu, 02 Dec 2004 21:54:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=4245&amp;title=report-control-ado#4245</guid>
  </item> 
  <item>
   <title><![CDATA[report c&#111;ntrol_ADO : hi. Error Message in MFC42.DLL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=3541&amp;title=report-control-ado#3541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=777">nunggum</a><br /><strong>Subject:</strong> 1295<br /><strong>Posted:</strong> 18 October 2004 at 4:36am<br /><br /><P>hi.</P><P>Error Message in MFC42.DLL Apprears When update Database to Report Control using ADO,<BR>Small DB can update to Report control but Big DB&nbsp; (16,000 Records) Can't update.</P><P>Private db As New ADODB.Connection<BR>Private rs As New ADODB.Recordset<BR>Const COLUMN_PART = 0<BR>Const COLUMN_CODE = 1<BR>Const COLUMN_PAPER_SIZE = 2<BR>Const COLUMN_SIZE = 3<BR>Const COLUMN_PRINTER = 4<BR>Private Sub Form_Load()<BR>sSql = "SELECT * FROM sheet2 ;"<BR>db.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &amp; App.Path &amp; "\any1.mdb;Persist Security Info=False"<BR>rs.Open sSql, db, adOpenStatic, adLockReadOnly<BR>&nbsp;&nbsp; While Not rs.EOF<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rs.MoveNext<BR>&nbsp;&nbsp; Wend<BR>&nbsp;&nbsp; If rs.RecordCount = 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set db = Nothing<BR>&nbsp;&nbsp; Set rs = Nothing<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RC1.Redraw<BR>&nbsp;&nbsp;&nbsp; Exit Sub<BR>&nbsp;&nbsp; End If<BR>rs.MoveFirst<BR>&nbsp;&nbsp;&nbsp; With RC1.Columns<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add COLUMN_PART, "part1", 50, True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add COLUMN_CODE, "part2", 50, True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add COLUMN_PAPER_SIZE, "part3", 50, True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add COLUMN_SIZE, "part4", 50, True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add COLUMN_PRINTER, "part5", 50, True<BR>&nbsp;&nbsp;&nbsp; End With<BR>Dim i As Long, Record As ReportRecord, Item As ReportRecordItem, str As String<BR>i = 0<BR>While Not rs.EOF<BR>Set Record = RC1.Records.Add<BR>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Value = rs(1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Icon = 0<BR>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Value = rs(2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Icon = 1<BR>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Value = rs(3)<BR>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Value = rs(4)<BR>&nbsp;&nbsp;&nbsp; Set Item = Record.AddItem(i)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Value = rs(5)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rs.MoveNext<BR>&nbsp;&nbsp;&nbsp; i = i + 1<BR>Wend<BR>&nbsp;&nbsp;&nbsp; RC1.SetImageList Me.ImageList1<BR>&nbsp;&nbsp;&nbsp; RC1.PaintManager.ColumnStyle = xtpColumnFlat<BR>&nbsp;&nbsp;&nbsp; RC1.Populate<BR>End Sub</P>]]>
   </description>
   <pubDate>Mon, 18 Oct 2004 04:36:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1295&amp;PID=3541&amp;title=report-control-ado#3541</guid>
  </item> 
 </channel>
</rss>