Subject RE: [IBO] Fetching Query Results
Author Alan McDonald
Actually...
I have an AfterOpen event which puts my users back where they were when the
app was last exited... I assumed that I could move to the record in question
without much fuss, but this method of getting there, to fill the grid
buffers, seems to fetch all the records if the one I want is near the bottom
of the dataset... thus the dialog in question and the delay I wasn't
expecting.

IB_QBlocks.KeyFields.Values['BLOCKIND'] := irLastBlock;
IB_QBlocks.LookupKeyForFields;

Is there a faster way to seek / locate this record and fill the buffers?
Alan

-----Original Message-----
From: Thomas Steinmaurer [mailto:ts@...]
Sent: Monday, 30 December 2002 12:13 AM
To: IBObjects@yahoogroups.com
Subject: RE: [IBO] Fetching Query Results


Hi Alan,

> -----Original Message-----
> From: Alan McDonald [mailto:alan@...]
> Sent: Sunday, December 29, 2002 2:07 PM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Fetching Query Results
>
>
> Wow...
> where is that "Fetching Query Results" dialog?
> It's very big and I need to make it more like the rest of my application.

IBD_CancelQuery.pas
IBD_CancelQuery.dfm

To disable this dialog, set the CallbackInc property of your
data access component to -1.


HTH,
Thomas Steinmaurer
IB LogManager 2.1 - The Logging/Auditing Tool for InterBase and Firebird
http://www.iblogmanager.com




___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/