Fetching Large table

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
sandeep_c24
Expert Boarder
Expert Boarder
Posts: 158
Joined: 06.11.2005, 01:43

Fetching Large table

Post by sandeep_c24 »

I thought if I set the Filtered property of TZTable to true and opened it it would not fetch all the records in a table at once but would get them as needed. This doesn't seem to be the case. Is there a way to make TZTable to fetch records as and when needed?

Regards

Sandeep
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Bad option probably, but use a TZQuery as is documented everywhere on the forum?
sandeep_c24
Expert Boarder
Expert Boarder
Posts: 158
Joined: 06.11.2005, 01:43

Post by sandeep_c24 »

Even if I set the Filtered property yo True in TZQuery all records are fetched and not fetched on demand as expected. I testing using Postgres 8.

Anything else I could try?

Regards

Sandeep
tam
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: 20.10.2006, 15:21

Post by tam »

Filter your data with the where clause of your query.
Post Reply