<?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 : Problem with recordset interaction</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Problem with recordset interaction]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 17:07:34 +0000</pubDate>
  <lastBuildDate>Fri, 13 Feb 2009 04:16:22 +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=13314</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[Problem with recordset interaction : Hi,  Can you upload test project?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13314&amp;PID=45409&amp;title=problem-with-recordset-interaction#45409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 13314<br /><strong>Posted:</strong> 13 February 2009 at 4:16am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you upload test project? I haven't had any problems with loading records from database but it would be easier to when you could create test for this</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 13 Feb 2009 04:16:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13314&amp;PID=45409&amp;title=problem-with-recordset-interaction#45409</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with recordset interaction : Im using Report Control V11.2...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13314&amp;PID=45076&amp;title=problem-with-recordset-interaction#45076</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3836">ViperSnake</a><br /><strong>Subject:</strong> 13314<br /><strong>Posted:</strong> 02 February 2009 at 12:16pm<br /><br />Im using Report Control V11.2 and im having a problem when i insert a new row from a record set. The code below worked fine until now. Im using a RecordSet with a OLEDB connection to add records to the report control: <DIV>&nbsp;</DIV><DIV>Sub LoadGrd()</DIV><DIV>&nbsp;<BR>&nbsp;&nbsp;&nbsp; Dim L As Integer&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; ReportControl.Records.DeleteAll<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; For L = 0 To (adoRS.RecordCount - 1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AddRecord adoRS!Cod_Aluno, adoRS!Aluno,adoRS!Cod_Turma,&nbsp;&nbsp;&nbsp; adoRS!Localidade_Aluno<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not adoFichasAlunoRS.EOF&nbsp; Then adoFichasAlunoRS.MoveNext<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; ReportControl.Populate<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>'------------------------------------------------------------------------------------</DIV><DIV>Sub AddRecord(pNumero, pNome, pTurma, pLocalidade As Variant)&nbsp;<BR><BR>&nbsp;&nbsp;&nbsp; Dim Record As ReportRecord<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set Record = Me.ReportControl.Records.Add()<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Record.AddItem pNumero<BR>&nbsp;&nbsp;&nbsp; Record.AddItem pNome<BR>&nbsp;&nbsp;&nbsp; Record.AddItem pTurma</DIV><DIV>&nbsp;&nbsp;&nbsp; Record.AddItem pLocalidade</DIV><DIV>&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp; Set AddReportRecord = Record<BR>&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>The problem is that when i do the movenext event&nbsp;on the recordset, it changes the data of&nbsp;all&nbsp;previous records of the report control&nbsp;and puts&nbsp;them like the one on the recordset... </DIV><DIV>&nbsp;</DIV><DIV>So if I have 10 records on the recordset i end up with 10 records on the report control equal to the last one on the recordset.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>Tank You for your time..</DIV>]]>
   </description>
   <pubDate>Mon, 02 Feb 2009 12:16:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13314&amp;PID=45076&amp;title=problem-with-recordset-interaction#45076</guid>
  </item> 
 </channel>
</rss>