Page 1 of 1

How is the best to use IBCQuery or IBCQuery->ClientDataSet?

Posted: Mon 14 Apr 2008 13:41
by fellipeh
Hello, I try IBDAC, and I have many questions about these.

My first question is: How is the best and faster to use:

IBCQuery, using like TDataSet, direct to DBEdit

or IBCQuery -> ClientDataSet Using a ClientDataSet like TDataSet, direct to DBEdit?

I now, if I using ClientDataSet, my data is in memory, but I think if I use these I lost a powerfull functions of IBCQuery, its true?

Thanks for all, and sorry my bad and poor english..

Fellipe H.
Brazil.

Posted: Tue 15 Apr 2008 10:54
by Plash
TClientDataSet component can be usefull if you are designing three-tier application.

In simple application you don't need TClientDataSet. TIBCQuery component stores data in the memory by default. TIBCQuery does not store data in the memory only if you set Unidirectional property to True.

Posted: Tue 15 Apr 2008 12:42
by fellipeh
Plash wrote:TClientDataSet component can be usefull if you are designing three-tier application.

In simple application you don't need TClientDataSet. TIBCQuery component stores data in the memory by default. TIBCQuery does not store data in the memory only if you set Unidirectional property to True.
Thanks very much!