(ODBC Manager Library)
Description: Launches a transaction in the specified database connection. The transaction takes care of its own shut-down process.
Returns: Nothing
Usage: Script
Format: \ODBCManager\Transaction( TransObjPtr, ReadyPtr, TErrorPtr, CallerObj, UseTrans, DSN, UserName, Password)
Parameters: TransObjPtr { Pointer } { required } { no default: }
A Pointer to the transaction object
TReadyPtr { Pointer } { required } { no default: }
A Pointer to a variable, used to set the ready status
TErrorPtr { Pointer } { required } { no default: }
A Pointer to a variable, used to set the error status
CallerObj { Object Value } { required } { no default: }
The object value of the original calling module
UseTrans { Boolean } { required } { no default: }
Set to true (1) to use BEGIN and END of transaction
DSN { text } { required } { no default: }
DSN of the database to start transaction within
UserName { text } { required } { no default: }
User name, if required by the database
Password { numeric } { required } { no default: }
Password, if required by the database
Returns: 0.
Comments: This module is a member of the ODBCManager Library, and must therefore be prefaced by \ODBCManager\, as shown in "Format" above.