[lazarus] TDatabase and Firebird
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Apr 10 06:01:30 EDT 2003
On Thu, 10 Apr 2003 09:31:29 +0200 (W. Europe Daylight Time)
Michael Van Canneyt <michael.vancanneyt at wisa.be> wrote:
>
>
> On Thu, 10 Apr 2003 hernan.et at pg.com wrote:
>
> > Hi all,
> >
> > I am now trying to work on database under Linux using Lazarus. I have
> > few question before I'll have to mess with my computer.
> >
> > 1. I found that TDatabase is now in the component palette, but using it
> > does not show up any properties nor events, do I need to upgrade my fpc
> > sources?
>
> No. TDatabase should not be in the component palette, it is an abstract
> class.
That is the first component that is removed from the component palette.
> You need to put TIBDatabase on the component palette. It is in the
> 'Interbase' unit in directory fcl/db/interbase
For those interested:
To get the interbase components in the IDE compile lazarus clean with
-dInterbase in the build options.
Mattias
> > 2. If I use Firebird, do I need to create a descendent so that I can use
> > it in TDatabase. How about TTable, can we use it now?
>
> The interbase unit defines TIBDatabase/TIBTransaction/TIBQuery. No
> support for TTable yet, but I assume that this can be emulated using
> TIBQuery.
>
> Michael.
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus
mailing list