Sign in Join

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

Mailing lists / lazarus / 2003-04

TDatabase and Firebird

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt
to Unknown author: I am now trying to work on database under Linux using Lazarus. I have few question before…
Show quoted text 7 lines
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. You need to put TIBDatabase on the component palette. It is in the 'Interbase' unit in directory fcl/db/interbase

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.

Reply by email

Unknown author

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

Yoyong

Reply by email

Mattias Gaertner
to Unknown author
Show quoted text 15 lines
On Thu, 10 Apr 2003 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

Show quoted text 13 lines
> 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 with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email