On Sun, 2006-02-19 at 21:16 +1000, SteveG wrote:
> Could anyone tell me what I am doing wrong with the following line
> 
> SqlD  := TSqlConnection.Create( NIL );   - generates -> Warning: 
> Constructing a class "TSQLConnection" with abstract methods
> I am using (trying to anyway) the SqlDb unit directly, not as an 
> installed component (no Form)
> suggestions very much appreciated

It is just as said. TSQLConnection is the abstract ancestor for the
specific Connection for Interbase, MySQL etc. 
It is comparable with for instance TCustomButton. You never use a
TCustomButton but always a TButton. When you do use TCustomButton is
when you want to make your own special Button.
So you use TSqlConnection when you plan to make a Connection-component
for a specific RDBMS. 
If you connect to a Firebird or InterBase-server use TIBConnection.

Matthijs

-- 
Matthijs Willemstein <[EMAIL PROTECTED]>

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to