Subject | Re: [IBO] Newby - which component to use |
---|---|
Author | Jason Wharton |
Post date | 2002-01-11T15:58:02Z |
If you need to scan all records from first to last use a TIB_Cursor.
The buffered queries will keep all records in memory.
I do allow the Unidirectional property to be set to true and it will "age
off" records out of the buffer as the cursor moves along but this is
intended for just what it implies, unidirectional access. This is for
TDataset usage since I don't have the equivalent of TIB_Cursor in TDataset.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
The buffered queries will keep all records in memory.
I do allow the Unidirectional property to be set to true and it will "age
off" records out of the buffer as the cursor moves along but this is
intended for just what it implies, unidirectional access. This is for
TDataset usage since I don't have the equivalent of TIB_Cursor in TDataset.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "gigmbh" <ZJQBBYSESPEZ@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, January 11, 2002 8:36 AM
Subject: [IBO] Newby - which component to use
> To find out which component to use for which task I took a look at
> the supplied tutorials and played around with different components in
> conjunction with Ibmonitor.
>
> When I use a TIB_Query or a IBOQuery with "select *" and then scroll
> forward via grid it seems that IBO fetches the records in parts and
> then saves them in memory for scrolling backwards.
>
> If you scroll through the whole set from the first to the last record
> does IBO keep all them in memory or does it also releas some of them.
>
> If so is there any other way to assure that scrolling through a large
> dataset does no fill up the whole memory of a ws.
>
> Thank's for your advise.
>
> Regards,
> Frank.