Subject Re: [IBO] IBO vs. BCB4 Data Components
Author Geoff Worboys
> Is using IBOTable and IBOGrid with DBGrid and other data
> controls as efficient as using IB_Query with other IBObjects?

The first thing I would say is that T..Table is NOT an efficient way
to do anything. TIBOTable was provided to make it quicker and easier
to convert from the BDE. Once you have made this conversion I
strongly suggest changing over to TIBOQuery, which allows you define
specific SQL - retrieving only the fields actually required and making
various other optimisations.

IBOQuery uses a specialised TIB_Query internally, other than a
relatively small additional layer of code, there should be very little
performance difference between IBOQuery and IB_Query.

So application performance/efficiency is probably not a reason for
choosing one implementation over the other. However the native (IB_*)
components and controls are designed to interact with each other in a
way that the standard VCL controls do not. Because of the additional
features of the native controls, it could be said that the native set
is more efficient from a development perspective.

I do know that some people have invested heavily, in time and effort,
developing applications using products like InfoPower. In such cases
you may find it more appropriate to use the TIBO* (TDataset) based
components so that you can continue to benefit from your previous

If you are lucky enough to be starting a new project, then the native
controls are well worth a good look. I suggest you take a look at
some of the samples, such as the contact application - to see some of
the benefits of using the native component/control set.


Geoff Worboys
Telesis Computing