<?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 : Records scan</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Records scan]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 20:02:04 +0000</pubDate>
  <lastBuildDate>Fri, 30 Sep 2005 11:45:49 +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=2980</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[Records scan : I had to correct myself for a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2980&amp;PID=8891&amp;title=records-scan#8891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=66">zaksoft</a><br /><strong>Subject:</strong> 2980<br /><strong>Posted:</strong> 30 September 2005 at 11:45am<br /><br /><P>I had to correct myself for a mistake in previous post:</P><P>The unseen rows are cutted from the procedure that set the total number of row in the Excel spreadsheet...</P><P>I've confused&nbsp; Rows number and Record number that of course have different values in case of grouping.</P><P>I apologize for that.</P>]]>
   </description>
   <pubDate>Fri, 30 Sep 2005 11:45:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2980&amp;PID=8891&amp;title=records-scan#8891</guid>
  </item> 
  <item>
   <title><![CDATA[Records scan : I need to scan all records in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2980&amp;PID=8890&amp;title=records-scan#8890</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=66">zaksoft</a><br /><strong>Subject:</strong> 2980<br /><strong>Posted:</strong> 30 September 2005 at 11:36am<br /><br /><P>I need to scan all records in a report to export some data, I use this code:</P><P>&nbsp;</P><P>CXTPReportRows* pRows = m_wndReport.GetRows();</P><P>ASSERT( pRows); </P><P>ASSERT( m_nNumRows == pRows-&gt;GetCount());</P><P><FONT color=#0000ff>for</FONT> ( nRow = 1; nRow &lt;= m_nNumRows; nRow++) {</P><P></P><P>spread.SetRow( nRow);</P><P></P><P>CXTPReportRow* pRow = pRows-&gt;GetAt( nRow - 1);</P><P>ASSERT( pRow);&nbsp;&nbsp; // &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Error, see notes below&nbsp;</P><P><FONT color=#0000ff>if</FONT> ( pRow == NULL)</P><P><FONT color=#0000ff>continue</FONT>;</P><P>CXTPReportRecord* pRecord = pRow-&gt;GetRecord();</P><P>ASSERT( pRecord);</P><P><FONT color=#0000ff>if</FONT> ( pRecord) {</P><P>.... code ....</P><P>The problem is that this works as aspected when no gouping is performed, but when there is an active group I got as many assertion as the number of groups and the scan ends at Rec-Group item.</P><P>Do You have an idea or a better solution then</P><P>if ( pRow == NULL) {</P><P>&nbsp;&nbsp; m_nNumRows++;</P><P>&nbsp;&nbsp;&nbsp;continue;</P><P>}</P><P>TIA</P>]]>
   </description>
   <pubDate>Fri, 30 Sep 2005 11:36:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2980&amp;PID=8890&amp;title=records-scan#8890</guid>
  </item> 
 </channel>
</rss>