<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Record Count</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Record-Count-68628</link>
        <description></description>
        <pubDate>Mon, 09 Nov 2026 17:36:41 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Record-Count-68628" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [rcrofoot] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2194934#post2194934</link>
          <description><![CDATA[Hi Rick,<br /><br />Do you want the total records shown on the page (eg: 10) or the total records matched (could be much higher such as 43).<br /><br />There should be a second variable returned by getRecords() that has info such as that.  Try this:<br />&lt;?php echo $certifications<span style="color:red">MetaData</span>['totalRecords']; ?&gt;<br /><br />Or have a look through the values available using this debug code and use one of them:<br />&lt;xmp&gt;&lt;?php print_r($certificationsMetaData); ?&gt;&lt;/xmp&gt;<br /><br />Hope that helps!  Let me know how it goes.<br />]]></description>
          <pubDate>Sat, 27 Dec 2008 18:58:40 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2194934#post2194934</guid>
        </item>
                <item>
          <title>Re: [Dave] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2194917#post2194917</link>
          <description><![CDATA[Hi Dave- <br /><br />Back to the record count question from earlier this year...I need to get the total number of records returned from a CMS query... <br /><br />As a test, when I tried: <span style="color: #ff0000">&lt;xmp&gt;&lt;?php print_r($certificationsRecords); ?&gt;&lt;/xmp&gt;[/#ff0000]<span style="color: #000000">, I got a printout of every field and its data for every record in every table...[/#000000]<span style="color: #ff0000">('[/#ff0000]<span style="color: #ff0000">certifications' is my table name)...[/#ff0000] <br /><br />When I tried: <span style="color: #ff0000">&lt;?php echo $certificationsRecords['totalRecords']; ?&gt;[/#ff0000]<span style="color: #ff0000">,[/#ff0000] I got this error: <span style="color: #ff0000">Notice: Undefined index: totalRecords in /var/www/vhosts/ebscerts.com/httpdocs/show_product_list_test.php on line 43[/#ff0000] <br /><br />Short of putting a counter in one of the foreach loops, is there a way to just retrieve the total number of records returned from a CMS query??? <br /><br />Thanks, and hope you and your family had a wonderful Christmas! <br /><br />Rick<br />]]></description>
          <pubDate>Fri, 26 Dec 2008 12:45:10 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2194917#post2194917</guid>
        </item>
                <item>
          <title>Re: [Dave] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2194507#post2194507</link>
          <description><![CDATA[Yes Dave!!! You rock, thank you!<br />]]></description>
          <pubDate>Wed, 03 Dec 2008 15:30:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2194507#post2194507</guid>
        </item>
                <item>
          <title>Re: [jposwald] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2194503#post2194503</link>
          <description><![CDATA[Hi Juan,<br /><br />You need to make sure the variable names are the same as the ones used in your viewer page.<br /><br />Try $featured_propertiesMetaData instead of $listDetails<br /><br />Let me know if that works for you.<br />]]></description>
          <pubDate>Wed, 03 Dec 2008 14:24:09 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2194503#post2194503</guid>
        </item>
                <item>
          <title>Re: [jposwald] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2194420#post2194420</link>
          <description><![CDATA[It should still work.  What's it showing for you?<br /><br />Note that the variable might be different in your viewer file, not $listDetails but something else.<br />]]></description>
          <pubDate>Tue, 25 Nov 2008 12:29:43 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2194420#post2194420</guid>
        </item>
                <item>
          <title>Re: [Dave] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2194411#post2194411</link>
          <description><![CDATA[It's not working with new versions of CMS Builder.<br /><br />How can I show total records listed in List Page?<br /><br />Thank you, Juan.<br />]]></description>
          <pubDate>Tue, 25 Nov 2008 08:42:45 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2194411#post2194411</guid>
        </item>
                <item>
          <title>Re: [rcrofoot] Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190318#post2190318</link>
          <description><![CDATA[Thanks for posting that!  Helpful for anyone else who wants to do the same.<br />]]></description>
          <pubDate>Wed, 20 Feb 2008 12:50:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190318#post2190318</guid>
        </item>
                <item>
          <title>Record Count</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2190310#post2190310</link>
          <description><![CDATA[[font &quot;Arial&quot;]<font size="2">Dave-</font></span> [font &quot;Arial&quot;]<font size="2">One last question...Other than setting up a ForEach loop and incrementing a counter variable, is there a way to return the record count (number of records returned) in a List Viewer page???</font></span> [font &quot;Arial&quot;]<font size="2">I checked the documentation, but couldn't find anything...</font></span> [font &quot;Arial&quot;]<font size="2">Rick</font></span> [font &quot;Arial&quot;]</span>  [font &quot;Arial&quot;]</span>  Hi Rick,<br /><br />You can use this to see the total number of records:<br />&lt;?php echo $listDetails['totalRecords']; ?&gt;<br /><br />There's a few other variables available as well, you can list them all with this code: <br />&lt;xmp&gt;&lt;?php print_r($listDetails); ?&gt;&lt;/xmp&gt;<br /><br />However, if you want the number of record _displayed_ on the page and not the total count then you'd need to use a counter.  Most of the time the number of records displayed on a page would be the same as the per page value (except when you're on the last page).<br /><br />Hope that makes sense.  If there's something in particular that you are trying to do and you're not sure how feel free to let me know and I can help you figure it out.  (Post in the forum if you can since that helps other people too).<br /><br />Hope that helps!<br />]]></description>
          <pubDate>Tue, 19 Feb 2008 18:29:38 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2190310#post2190310</guid>
        </item>
              </channel>
    </rss>
  