Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-06

dataware simple application

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joao Serrachinha

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?) ?

Thanks in advance.

Jo?o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080618/ed00608b/attachment.html

Reply by email

Michael Van Canneyt
to Joao Serrachinha
Joao Serrachinha wrote 8 lines
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.

Reply by email