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
TSQLConnection is an abstract class whose descendants implement connections to
several databases, such as TIBConnection, TPQConnection, TMySQLConnection,
TOracleConnection and TODBCConnection, each of which resides in their
respective units in their respective subdirectories (in the source code tree).
In other words, use e.g. PGConn := TPGConnection.Create(nil); to connect to a
Postgres database (and include the pqconn unit in your usus clause in this
case).
Regards,
Bram
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives