Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 24th, 2004, 06:51 AM
shalilatharash shalilatharash is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 13 shalilatharash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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!

Reply With Quote
  #2  
Old June 24th, 2004, 08:57 AM
Elbryan Elbryan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Behind you
Posts: 19 Elbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to Elbryan
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

Reply With Quote
  #3  
Old June 24th, 2004, 11:10 PM
shalilatharash shalilatharash is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 13 shalilatharash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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..

Reply With Quote
  #4  
Old June 25th, 2004, 04:51 AM
Elbryan Elbryan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Behind you
Posts: 19 Elbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via MSN to Elbryan
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..

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Paging in Delphi 6


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT