#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    13
    Rep Power
    0

    Question Paging in Delphi 6


    Hi,

    Just wonder is there any good sites or example to do paging in Delphi 6. It seems that my DB size is increasing now and sometimes it pops up "Timeout Error" when query the table.
    I think paging is the only way to solve this problem. Maybe by showing 25 records per page...

    Any idea guys?..

    Thanks a lot man...

    Comments on this post

    • JimmyGosling agrees
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Behind you
    Posts
    19
    Rep Power
    0
    A counter ..no?
    ehm..for i:=0 to 20 do
    show show show show show show
    stop.

    then when the user want to go ahead
    for i:=0 to 20 do
    show show show show :P

    no eh? :P:P:P:P:P i'm crazyyyyyyyy
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    13
    Rep Power
    0

    Question


    hehe.....of course not as simple as that Elbryan...:P

    well...I've found an article about the paging in Delphi. The URL is http://www.latiumsoftware.com/en/articles/00013.php. However, it is for Web-based application. My system is a client-server application. Maybe I should be specific in my question...which is how to do paging in Delphi 6 for a client-server system?..

    Any idea?...Thanks..
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Behind you
    Posts
    19
    Rep Power
    0

    Thumbs up


    uhm..i think it should be the same thing.
    You have only to cut off the web-based rows
    I've an idea..use the query..you will show only 20-25 record per page and when the user click on "Next" button, he will see the next 20-25 record..no?
    Try to look for RecordCount, and RecNo properties..

IMN logo majestic logo threadwatch logo seochat tools logo