Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

« Predchádzajúce Verzia 3 Ďalej »

DB_TRANS_OPEN action


Function
The action establishes a new Connection to a database.
Declaration
 DB_TRANS_OPEN dbObjIdent, handleIdent_Int, retCodeIdent_Int
Parameters
dbObjIdentinReference to an object of Database type.
handleIdent_IntoutIdentifier - the unique number (handle) of a Connection.
retCodeIdent_IntoutReturn code identifier.
Return code
The value of the parameter transHandle_Int. See the table of error codes. It is possible to get extended error information.
Note: The maximum number of connections configured on the Database object can be limited by the Maximum connections parameter, with a value of 0 disabling the limitation. If the D2000 DBManager process consumes all connections, subsequent calls to DB_TRANS_OPEN attempting to establish a connection will return the error DBM_MAX_CONNECTIONS in the variable _ERR_NR_TRANS_EX.
Description
Identifier for a number (handle) of the Connection, is used for: 

 Return code describes the action success (__ERR_NO_ERROR).


Related pages:

  • Žiadne štítky