<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: using datareader record count showing one less in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553755#M4706969</link>
    <description>&lt;P&gt;Are you using a CR SDK to connect to your data reader?&lt;/P&gt;&lt;P&gt;Need more details&lt;/P&gt;&lt;P&gt;Maybe your data reader is zero based and you are using 1 based?&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;totext((Count +1)({ado.Student}) ,0) + " records selected" --student is one of the column&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 14:18:46 GMT</pubDate>
    <dc:creator>former_member11696</dc:creator>
    <dc:date>2022-01-28T14:18:46Z</dc:date>
    <item>
      <title>using datareader record count showing one less</title>
      <link>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaq-p/12553751</link>
      <description>&lt;P&gt;I'm using crystal report in my x64 windows system using asp.net. I have a scenario where more than 25 lacs records coming through a dynamic query. using datatable i'm gettign system outof memory issue, so i used on datareader instead datatable. everything works fine but total records of the formula returning 1 value less.&lt;/P&gt;
  &lt;P&gt;here is my formula&lt;/P&gt;
  &lt;P&gt;totext(Count ({ado.Student}) ,0) + " records selected" --student is one of the column&lt;/P&gt;
  &lt;P&gt;Suppose if I got total of 20 records in sql query then it's showing like "20 records selected" it's works fine until I'm using datatable. but it's failed when I changed to datatareader. it's showing like "19 records selected". I verified the sql data before the query execution. and front end also i'm getting the total records. only issue is total records. can any one helps me for this&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 20:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaq-p/12553751</guid>
      <dc:creator>former_member1189428</dc:creator>
      <dc:date>2022-01-13T20:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: using datareader record count showing one less</title>
      <link>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553752#M4706966</link>
      <description>&lt;P&gt;If the link and tables don't have a 1 to 1 match it may miss data.&lt;/P&gt;&lt;P&gt;Be sure to use if isNull to the formulae.&lt;/P&gt;&lt;P&gt;Click the F1 key to get help on using the isnull function or search this tag for more samples&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 18:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553752#M4706966</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2022-01-17T18:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: using datareader record count showing one less</title>
      <link>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553753#M4706967</link>
      <description>&lt;P&gt;we found first record is missing using datareader. can any one helps me why it is missing the first record&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 15:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553753#M4706967</guid>
      <dc:creator>former_member1189428</dc:creator>
      <dc:date>2022-01-21T15:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: using datareader record count showing one less</title>
      <link>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553754#M4706968</link>
      <description>&lt;P&gt;if we have only record then it's not showing using datareader&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 14:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553754#M4706968</guid>
      <dc:creator>former_member1189428</dc:creator>
      <dc:date>2022-01-27T14:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: using datareader record count showing one less</title>
      <link>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553755#M4706969</link>
      <description>&lt;P&gt;Are you using a CR SDK to connect to your data reader?&lt;/P&gt;&lt;P&gt;Need more details&lt;/P&gt;&lt;P&gt;Maybe your data reader is zero based and you are using 1 based?&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;totext((Count +1)({ado.Student}) ,0) + " records selected" --student is one of the column&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 14:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/using-datareader-record-count-showing-one-less/qaa-p/12553755#M4706969</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2022-01-28T14:18:46Z</dc:date>
    </item>
  </channel>
</rss>

