Handle to a database connection. To do actual database work, you need do get a IKDBConnection by calling GetConnection. You must return the connection by calling YieldConnection or the connection will leak. If there is a question over the validity of the database connection or the internal state of the connection, describe an error message in YieldConnection and the connection will be re-initialised internally

Use one of the kernel methods to create a TDBConnection


Methods

CheckConnection : Integer
DriverName : String
GetConnection(desc : String) : IKDBConnection
Lookup(TableName : String, keyColumn : String, keyValue : String, SourceField : String, DefaultContent : String) : String
LookupNum(TableName : String, keyColumn : String, keyValue : String, SourceField : String, DefaultContent : String) : String
LookupStr(TableName : String, keyColumn : String, keyValue : String, SourceField : String, DefaultContent : String) : String
StartLogging(filename : String)
StopLogging
YieldConnection(Conn : IKDBConnection, errmsg : String)

© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: IDBConnPool, TDBConnPool