Paging Using Getrows

Results 1 to 2 of 2

Thread: Paging Using Getrows

  1. #1
    Maryam Guest

    Default Paging Using Getrows

    I having problem when I use getrows method to page thru the recordset when there is only 1 record left for the next page. Eg if I set pagesize=10 then if total records is 11 or 21 or 31 or 41 and so on..the second last page will show 11 records instead of 10 and on the last page I will have 1 record which was the 11th record shown on the second last page. To test this you can try using Mukul Sabharwal&#039s code at and the same thing happen. If you have any other number of extra records say 2 or other number you will not see this problem.Can anyone help me on how to solve this problem.<BR><BR>Thank you.<BR>

  2. #2
    Join Date
    Dec 1969

    Default No code, no fix...

    It is obviously a silly little logic problem, presumably with the upper bound of the array.<BR><BR>I think I could fix it if you could answer my question: "What is wrong with my car? It sometimes doesn&#039t want to go, at all."<BR><BR>If you show us the *relevant* portions of the code, then I&#039ll tell you that it won&#039t go when I don&#039t put gas in it.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts