Disconnect (ODBCConnection - LotusScript)

Disconnects from the data source.

Defined in

ODBCConnection

Syntax

status = odbcConnection . Disconnect

Return value

  • True indicates that disconnect was successful.
  • False indicates that disconnect failed.

Usage

You can use a result set after disconnecting, but you cannot fetch more data or post updates to the back-end database.

Errors

Not connected to a data source (DBstsNCON)

Events

BeforeDisconnect

AfterDisconnect

Example