Subject Re: [IBO] fetching some records
Author Justas Janauskas
what timeout properties? I want to do such thing. When user opens form with
dataset, dataset has fetched some records (not much). if user goes to last
record, it takes a long time to go there, becouse in my case table is very
big. so i want to create timer with for ex. 2000 interval and that it would
fetch for ex. 10000 records in every 2 sec. and it gets so: if user opens
form, waits for a long time, press LastRecords and it faster goes there
(becouse due timer fetches, more records are fetched). so the problem is: is
there any method like IBODataSet.FetchNextRecords(10000)?

--
thanks,
Justas

----- Original Message -----
From: Lester Caine
To: IBObjects@yahoogroups.com
Sent: Wednesday, July 18, 2001 3:10 PM
Subject: Re: [IBO] fetching some records


> how can I fetch some (not all) records in TIBODataSet?
>
> situation: I open dataset, it has fetched some records (not much), but
table
> actually has much more of them, so I want that in every for ex. 2 sec. my
> dataset would fetch some more records. and only I need to know how can i
do
> fetching, of course without using .Next, .MoveBy or smth., I mean cursor
pos
> can't be changed.

IBO does this in the background. It's all controlled by TimeoutProperties.
It is one of IBO's best facilities.

What are you trying to achieve?