Using Win32 functions in Visual FoxPro Image Gallery
ODBC API
..msdn
SQLAllocEnv
SQLAllocHandle
SQLBindCol
SQLBrowseConnect
SQLConfigDataSource
SQLConnect
SQLCreateDataSource
SQLDataSources
SQLDisconnect
SQLDriverConnect
SQLDrivers
SQLExecDirect
SQLFetch
SQLFreeEnv
SQLFreeHandle
SQLGetConfigMode
SQLGetConnectAttr
SQLGetDiagRec
SQLGetEnvAttr
SQLGetFunctions
SQLGetInfo
SQLGetInstalledDrivers
SQLGetPrivateProfileString
SQLInstallerError
SQLManageDataSources
SQLNativeSql
SQLRowCount
SQLSetConfigMode
SQLSetEnvAttr
SQLTables
Code examples:
Enumerating ODBC Data Sources available on the local computer
Enumerating ODBC drivers available on the local computer
Establishing connection using the SQLDriverConnect
Obtaining list of tables stored in an ODBC Data Source
Retrieveing general information about the driver and data source associated with an ODBC connection
Testing an ODBC connection for supporting specific functionality
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Using vendor-neutral SQL constructs
SQLAllocEnv
..msdn    Add comment     W32 Constants      Translate this page
In ODBC 3.x, the ODBC 2.x function SQLAllocEnv has been replaced by SQLAllocHandle.
Code examples:
Using vendor-neutral SQL constructs
Establishing connection using the SQLDriverConnect
Enumerating ODBC Data Sources available on the local computer
Obtaining list of tables stored in an ODBC Data Source
Retrieveing general information about the driver and data source associated with an ODBC connection
Testing an ODBC connection for supporting specific functionality
Enumerating ODBC drivers available on the local computer
Using SQLBrowseConnect to connect to a data source through a number of iterative calls (SQL Server)
Declaration:
SQLRETURN SQLAllocEnv( 
    SQLHANDLE * OutputHandlePtr);
FoxPro declaration:
DECLARE SHORT SQLAllocEnv IN odbc32;
    INTEGER @ env
Parameters:
OutputHandlePtr
[Output]
Pointer to a buffer in which to return the handle to the newly allocated data structure.
Return value:
SQL_SUCCESS (0), SQL_SUCCESS_WITH_INFO, SQL_INVALID_HANDLE, or SQL_ERROR.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-03-05 12:06:16
Modified: 2002-03-05 12:09:51
Visited in last 7 days: 39
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.156.36.82)
7 sec.Function: 'waveOutGetPosition'
14 sec.Function: 'WNetGetNetworkInformation'
22 sec.Function: 'WinExec'
35 sec.Function: 'WSAEnumProtocols'
44 sec.Function: 'ShellExecuteEx'
57 sec.Function: 'WritePrivateProfileSection'
1.05 min.Function: 'SQLBrowseConnect'
1.15 min.Function: 'WNetGetUniversalName'
1.27 min.Function: 'waveOutGetVolume'
1.53 min.Function: 'SetupGetInfFileList'
Google
Advertise here!