Results 1 to 2 of 2

Thread: paging query results

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Connecticut
    Posts
    98
    I have a web based app that querys a MS-SQL database. Sometimes the results of the users query is very large & creates a page that is way too long.

    How can I break up the results into smaller pages, kind of like you get with the popular search engines. A page list at the bottm of each page like:

    Page 1 - 2 - 3 - 4 - Next>>

    Thanks!!!

  2. #2
    Guest
    Well, I just use a for-next loop to display X results, and if someone clicks the next or previous arrow (or number) I just pass a parameter along and according to what value the parameter has, I display the results belonging to that page.

    But I'm sure there is a shorter and more efficient way.

    Marcel

Posting Permissions

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



Click Here to Expand Forum to Full Width