On Wed, 18 Jun 2008, Joao Serrachinha wrote:
> Hi, > > I'm new to Lazarus and I'm trying to make a simple dataware application. I'm > using Lazarus 0.9.24 on a Debian Sid box. I already have a firebird database > 2.1 version. I'm putting from SQLdb a TIBConnection and from Data Access a > TDatasource. My problem is that I need a DataSet of course, but > TIBConnection is not a valid one. Can I use a Table component (where they > are?) or I must use a SQL component (TSQLQuery?) ? Yes. TIBConnection to connect to the Database TSQLTransaction to control your transaction (connect to database) TSQLQuery to execute queries. Connect to database and SQLTransaction. There is no TSQLTable or so. Instead, use "select * from tablename" in your TSQLQuery. Michael. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
