ODBC_SQLBrowseConnect

4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next

version 2004


ODBC_SQLBrowseConnect (connectionID; inConnectionStr; outConnectionStr) Longint

ParameterTypeDescription
connectionIDLongintConnection ID
inConnectionStrTextBrowse request connection string
outConnectionStrTextBrowse result connection string
Function resultLongintReturns the result of the MS ODBC API function
SQLBrowseConnect

Description

The ODBC_SQLBrowseConnect command supports an iterative method of discovering and enumerating the attribute values required to connect to a data source. Each call to this command returns successive levels of attributes and attribute values. When all levels have been enumerated, a connection to the data source is completed and a complete connection string is returned.

connectionID is a valid connection ID returned by ODBC_SQLAllocConnect.

inConnectionStr is the browse request connection string.

outConnectionStr is the browse result connection string.

For more information, please see the SQLBrowseConnect function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlbrowseconnect.asp.

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NEED_DATA, SQL_ERROR, or SQL_INVALID_HANDLE.


4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next