ODBCConnection (LotusScript)

Represents the ODBC Data Access features for connecting to a data source.

You must put the following statement in the (Options) event of the (Global) object or the agent to access the ODBC classes:


UseLSX "*LSXODBC"

Properties

AutoCommit

CommitOnDisconnect

DataSourceName

GetLSDOMasterRevision

SilentMode

ThreadSafeDriver

Methods

CommitTransactions

ConnectTo

Disconnect

GetError

GetErrorMessage

GetExtendedErrorMessage

IsConnected

IsSupported

ListDataSources

ListFields

ListProcedures

ListTables

RollbackTransactions

Access

To create a new ODBCConnection object, use New:

Dim variableName As New ODBCConnection

or

Set odbcConnection = New ODBCConnection

Example