Can not get FetchAll (false) to work
Posted: Wed 20 Jan 2010 15:13
Hello!
I'm currently evaluating IBCDAC.
The master TIBCQuery on my form has FetchAll set to false. A TIBCDataSource is connected to the TIBCQuery and a DBGrid is connected to the DataSource.
When I open the dataset DBMonitor shows the execution to take 10 seconds and that is pretty consistent with fetching the whole table. Alas the DBGrid indicates that all records has been fetched. This also happens when I set the Active property to true in the IDE.
But when I click the "Data Editor..." button in the IBCQuery Editor the effect is that only 25 (the value of the FetchRows property) records are fetched until I scoll down beyond record number 25 when there is a small pause and the next 25 records are fetched. This is how I expect it to work in my application too.
What am I doing wrong?
TIA,
/Dany
I'm currently evaluating IBCDAC.
The master TIBCQuery on my form has FetchAll set to false. A TIBCDataSource is connected to the TIBCQuery and a DBGrid is connected to the DataSource.
When I open the dataset DBMonitor shows the execution to take 10 seconds and that is pretty consistent with fetching the whole table. Alas the DBGrid indicates that all records has been fetched. This also happens when I set the Active property to true in the IDE.
But when I click the "Data Editor..." button in the IBCQuery Editor the effect is that only 25 (the value of the FetchRows property) records are fetched until I scoll down beyond record number 25 when there is a small pause and the next 25 records are fetched. This is how I expect it to work in my application too.
What am I doing wrong?
TIA,
/Dany