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

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
fellipeh
Posts: 7
Joined: Wed 09 Apr 2008 11:21

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

Post by fellipeh » Mon 14 Apr 2008 13:41

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 15 Apr 2008 10:54

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.

fellipeh
Posts: 7
Joined: Wed 09 Apr 2008 11:21

Post by fellipeh » Tue 15 Apr 2008 12:42

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!

Post Reply