Board index » delphi » Limet my Select result at 10 or 20 rec ?

Limet my Select result at 10 or 20 rec ?

I would like to read only 10 ou 20 record with a SELECT * FROM
customer..
Can I this with interbase ?
I used to a treeWiew to view the result...
Thank
Jack

 

Re:Limet my Select result at 10 or 20 rec ?


Quote
"" wrote:

> I would like to read only 10 ou 20 record with a SELECT * FROM
> customer..
> Can I this with interbase ?

        Sure.  Write your query as usual, fetch 20 records, and close the
query.  IB will not send records unless you ask for them.

        HTH,

        -Craig

--
Craig Stuntz            Vertex Systems Corporation
Senior Developer        http://www.vertexsoftware.com

Other Threads