June 24th, 2004, 05:51 AM
Paging in Delphi 6
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
June 24th, 2004, 07:57 AM
A counter ..no?
ehm..for i:=0 to 20 do
show show show show show show
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
June 24th, 2004, 10:10 PM
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?..
June 25th, 2004, 03:51 AM
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..