4D v14.1ODBC_SQLAllocConnect |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.1
ODBC_SQLAllocConnect
|
ODBC_SQLAllocConnect ( connectionID ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
connectionID | Longint |
![]() |
Connection ID | |||||
Function result | Longint |
![]() |
Returns the result of the MS ODBC API function SQLAllocHandle | |||||
The ODBC_SQLAllocConnect command allocates a connection handle to the connectionID parameter, which is a Longint variable that you pass to it. After calling this command, you can establish a connection to a specific data source by calling the ODBC_SQLConnect command.
For more information, please see the SQLAllocHandle function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms714852(VS.85).aspx.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_INVALID_HANDLE, or SQL_ERROR.
See the example for the ODBC_SQLConnect command.
Product: 4D
Theme: ODBC_Connection
Number:
16996
Created: 4D ODBC Pro 2004
ODBC_SQLConnect
ODBC_SQLFreeConnect
4D ODBC Pro ( 4D ODBC Pro v11.4)
4D ODBC Pro ( 4D ODBC Pro v12)
4D ODBC Pro ( 4D v13)
4D ODBC Pro ( 4D v14 R3)
4D ODBC Pro ( 4D v14.1)
4D ODBC Pro ( 4D v14 R2)
4D ODBC Pro ( 4D v14 R4)