Posted by Shahar Alvas on May 22, 2001

I connected to Informix database with TDataSource and I want to perform some queries by TQuery object.
Now I want to present the result set from the query on TDBGrid. Can I and how ???
Thanks, Shahar.

Related Articles and Replies:

Re: webmaster Guido on May 22

Connect the TQuery to a TDataSource, and connect the TDataSource to the DBGrid. It works the same way as a combination TTable-TDataSource-TDBGrid.

Because the DBGrid is connected to the TDataSource, it simply doesn't matter if the data are coming from a TTable or a TQuery.