OpenODBCTransaction (open)

Open an ODBC transaction

Syntax

LOADLIB "wh::dbase/odbc.whlib";

INTEGER FUNCTION OpenODBCTransaction(STRING dsn, STRING username, STRING password)

Parameters

STRING dsn

Data source name

STRING username

Username to use when connecting

STRING password

Password for the given username

Return value

INTEGER

The transaction id for the ODBC connection. If connection failed value <= 0