Board index » delphi » How do I restrict number of feched rows from server?

How do I restrict number of feched rows from server?

I use TTable at client side and MS SQL 2000 at the server side. I want to
limit the number of rows fetched to a small number and fetch the remaining
rows on demand of the user (eg. user scroll down in the grid to a row not
olready fetched)
Thanks in advance
Ozkan
 

Re:How do I restrict number of feched rows from server?


you can't do it :

1. for client/server architeture DON'T use TTAble, use TQuery
2. you must write your stored proc for paging
3. I recomend you to use ADO for MS SQL 7 / MS SQL 2K

Quote
"Ozkan DULGER" <ozkan_dul...@yahoo.com> wrote in message

news:3c08f69a_1@dnews...
Quote
> I use TTable at client side and MS SQL 2000 at the server side. I want to
> limit the number of rows fetched to a small number and fetch the remaining
> rows on demand of the user (eg. user scroll down in the grid to a row not
> olready fetched)
> Thanks in advance
> Ozkan

Other Threads