<?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="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Bug in PagedRdbQuery?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Bug in PagedRdbQuery?</description>
  <pubDate>Wed, 20 May 2026 04:00:29 -700</pubDate>
  <lastBuildDate>Fri, 08 Jul 2011 10:32:54 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1818</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Bug in PagedRdbQuery? :   We&amp;#039;ve confirmed this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=11204#11204</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1818<br /><strong>Posted:</strong> 08-Jul-2011 at 10:32am<br /><br />We've confirmed this as a bug.&nbsp; Sorry, we don't have a workaround, other than to set overlap to true when possible.&nbsp; We hope to have this fixed in the next release.]]>
   </description>
   <pubDate>Fri, 08 Jul 2011 10:32:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=11204#11204</guid>
  </item> 
  <item>
   <title>Bug in PagedRdbQuery? : I&amp;#039;m currently experiencing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=11192#11192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1199" rel="nofollow">foxs</a><br /><strong>Subject:</strong> 1818<br /><strong>Posted:</strong> 06-Jul-2011 at 8:26pm<br /><br />I'm currently experiencing the same problem, any idea on how to fix this?]]>
   </description>
   <pubDate>Wed, 06 Jul 2011 20:26:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=11192#11192</guid>
  </item> 
  <item>
   <title>Bug in PagedRdbQuery? : Thanks for the prompt reply. I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=6924#6924</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=755" rel="nofollow">evanian</a><br /><strong>Subject:</strong> 1818<br /><strong>Posted:</strong> 18-May-2010 at 3:47am<br /><br />Thanks for the prompt reply.&nbsp; I notice that your sample code doesn't include any calls to PrevPage(), which is where the problem occurs for me -- have you tried that?<br><br> When I adapt your code to suit my database&nbsp; the problem recurs.&nbsp; &nbsp; Here's the output, followed by the adapted code.<br><br>--------------------------------------------------------------------------------<br><br>Output:<br><br>Moving ahead one page...<br>Current page = 2<br>Employer count for this page = 10<br><br>Moving ahead one page...<br>Current page = 3<br>Employer count for this page = 10<br><br>Moving ahead one page...<br>Current page = 4<br>Employer count for this page = 10<br><br>Moving back one page...<br>Current page = 3<br>Employer count for this page = 9<br><br>Moving back one page...<br>Current page = 2<br>Employer count for this page = 9<br><br>Moving back one page...<br>Current page = 1<br>Employer count for this page = 9<br><br>Moving ahead one page...<br>Current page = 2<br>Employer count for this page = 9<br><br>Moving ahead one page...<br>Current page = 3<br>Employer count for this page = 9<br><br>Moving ahead one page...<br>Current page = 4<br>Employer count for this page = 9<br><br>Moving ahead one page...<br>Current page = 5<br>Employer count for this page = 10<br><br><br>--------------------------------------------------------------------------------<br><br>Code:<br><br>using System;<br>using System.Collections.Generic;<br>using System.ComponentModel;<br>using System.Data;<br>using System.Drawing;<br>using System.Linq;<br>using System.Text;<br>using System.Windows.Forms;<br>using IdeaBlade.Persistence.Rdb;<br>using IdeaBlade.Persistence;<br>using Model;<br>using IdeaBlade.Rdb;<br>using System.Reflection;<br><br>namespace PagingTest2<br>{<br>&nbsp;&nbsp;&nbsp; public partial class IdeabladeSample : Form<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PagedRdbQuery _pagedQuery;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public IdeabladeSample()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InitializeComponent();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RunQuery();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void RunQuery()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PersistenceManager pm = PersistenceManager.DefaultManager;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Query orders in descending date sequence.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RdbQuery aQuery = new RdbQuery(typeof(AS400Employer));<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; aQuery.AddOrderBy(AS400Employer.EmployerEntityColumn, System.ComponentModel.ListSortDirection.Descending);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Build a paged query to retrieve 10 items at a time.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _pagedQuery = new PagedRdbQuery(aQuery);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _pagedQuery.PageSize = 10;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _pagedQuery.PagesShouldOverlap = false;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MovePrevious();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MovePrevious();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MovePrevious();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveNext();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void MoveNext()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveQuery(true);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void MovePrevious()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveQuery(false);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void MoveQuery(bool forward)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Move either foward or back<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (forward)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteLine("Moving ahead one page...");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _pagedQuery.NextPage();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteLine("Moving back one page...");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _pagedQuery.PrevPage();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PersistenceManager pm = PersistenceManager.DefaultManager;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EntityList&lt;AS400Employer&gt; employers = pm.GetEntities&lt;AS400Employer&gt;(_pagedQuery);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteLine("Current page = " + _pagedQuery.CurrentPage.ToString());<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteLine("Employer count for this page = " + employers.Count.ToString());<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WriteLine("");<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void WriteLine(string s)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(s);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (txtDisplay.Text == "")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txtDisplay.Text = s;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txtDisplay.Text += Environment.NewLine + s;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>]]>
   </description>
   <pubDate>Tue, 18 May 2010 03:47:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=6924#6924</guid>
  </item> 
  <item>
   <title>Bug in PagedRdbQuery? : I could not duplicate this behavior....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=6907#6907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 1818<br /><strong>Posted:</strong> 17-May-2010 at 11:37am<br /><br />I could not duplicate this behavior.&nbsp; My code worked fine,&nbsp; Try this (from Reference Help):<DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>static</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> Main(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2>&#091;&#093; args)</P><P>{</P><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PersistenceManager</FONT></FONT><FONT size=2> pm = </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PersistenceManager</FONT></FONT><FONT size=2>.DefaultManager;</P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// Query orders in descending date sequence. </P></FONT></FONT><FONT size=2><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>RdbQuery</FONT></FONT><FONT size=2> aQuery = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>RdbQuery</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>typeof</FONT></FONT><FONT size=2>(</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Order</FONT></FONT><FONT size=2>));</P><P>aQuery.AddOrderBy(</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Order</FONT></FONT><FONT size=2>.OrderDateEntityColumn, System.ComponentModel.</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>ListSortDirection</FONT></FONT><FONT size=2>.Descending);</P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// Build a paged query to retrieve 10 items at a time. </P></FONT></FONT><FONT size=2><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PagedRdbQuery</FONT></FONT><FONT size=2> pagedQuery = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PagedRdbQuery</FONT></FONT><FONT size=2>(aQuery);</P><P>pagedQuery.PageSize = 10;</P><P>pagedQuery.PagesShouldOverlap = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>false</FONT></FONT><FONT size=2>;</P><P></P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>while</FONT></FONT><FONT size=2> (</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>true</FONT></FONT><FONT size=2>) {</P><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>EntityList</FONT></FONT><FONT size=2>&lt;</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Order</FONT></FONT><FONT size=2>&gt; orders = pm.GetEntities&lt;</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Order</FONT></FONT><FONT size=2>&gt;(pagedQuery);</P><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Console</FONT></FONT><FONT size=2>.WriteLine(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"Current page = "</FONT></FONT><FONT size=2> + pagedQuery.CurrentPage.ToString());</P><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Console</FONT></FONT><FONT size=2>.WriteLine(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"Order count for this page = "</FONT></FONT><FONT size=2> + orders.Count.ToString());</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>foreach</FONT></FONT><FONT size=2> (</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Order</FONT></FONT><FONT size=2> anOrder </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>in</FONT></FONT><FONT size=2> orders) {</P><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Console</FONT></FONT><FONT size=2>.WriteLine(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>" Order id = "</FONT></FONT><FONT size=2> + anOrder.Id.ToString());</P><P>}</P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// to stop the window from going away</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Console</FONT></FONT><FONT size=2>.WriteLine(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"\n\nPress Enter to continue"</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Console</FONT></FONT><FONT size=2>.ReadLine();</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (pagedQuery.IsLastPage) </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>break</FONT></FONT><FONT size=2>;</P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// Advance the query. </P></FONT></FONT><FONT size=2><P>pagedQuery.NextPage();</P><P>} </P><P></P><P></FONT><FONT color=#008000 size=2></FONT><P><FONT size=2></P>}</P><P>}</P><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 17 May 2010 11:37:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=6907#6907</guid>
  </item> 
  <item>
   <title>Bug in PagedRdbQuery? : I have a PagedRdbQuery object,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=6900#6900</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=755" rel="nofollow">evanian</a><br /><strong>Subject:</strong> 1818<br /><strong>Posted:</strong> 17-May-2010 at 2:10am<br /><br />I have a PagedRdbQuery object, with its PagesShouldOverlap property set to False.&nbsp; Its PageSize property is set to 15 (the exact value is unimportant here, however).<br><br>The problem is this.&nbsp; As long as I call NextPage() on the PagedRdbQuery, it returns the expected number of entities - 15, in this case.&nbsp; However, if I call PrevPage(), the number of entities returned is PageSize -1, or in this case, 14.&nbsp; The last entity in the set&nbsp; for that page (the set that had been returned for that page when NextPage() was called earlier) is now missing.&nbsp; The same is true for any pages that you reach by calling PrevPage().&nbsp; Worse, those entities stay missing even if you move into those pages by calling NextPage() from an earlier page.&nbsp; <br><br>This issue does not occur if PagesShouldOverlap is set to True.<br><br><br>I wonder if this issue is one you've seen before?&nbsp; Any help would be appreciated!&nbsp; I'm using IdeaBlade assemblies with Runtime Version v2.0.50727.<br><br><br>]]>
   </description>
   <pubDate>Mon, 17 May 2010 02:10:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1818&amp;PID=6900#6900</guid>
  </item> 
 </channel>
</rss>