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
SQLSetEnvAttr
..msdn    Add comment     W32 Constants      Translate this page
SQLSetEnvAttr sets attributes that govern aspects of environments.
Code examples:
Enumerating ODBC Data Sources available on the local computer
Declaration:
SQLRETURN SQLSetEnvAttr(
    SQLHENV     EnvironmentHandle,
    SQLINTEGER  Attribute,
    SQLPOINTER  ValuePtr,
    SQLINTEGER  StringLength);
FoxPro declaration:
DECLARE SHORT SQLSetEnvAttr IN odbc32;
    INTEGER EnvironmentHandle,;
    INTEGER Attribute,;
    INTEGER ValuePtr,;
    INTEGER StringLength
Parameters:
EnvironmentHandle
[Input]
Environment handle.

Attribute
[Input]
Attribute to set, listed in "Comments."

ValuePtr
[Input]
Pointer to the value to be associated with Attribute.

StringLength
[Input] If ValuePtr points to a character string or a binary buffer, this argument should be the length of *ValuePtr. If ValuePtr is an integer, StringLength is ignored.
Return value:
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-03-05 12:22:49
Modified: 2002-03-05 12:24:38
Visited in last 7 days: 13
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.36), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (23.20.183.212)
8 sec.Function: 'ReadDirectoryChangesW'
1.98 min.Function: 'WinHttpConnect'
7.32 min.Function: 'RegEnumValue'
8.55 min.Function: 'StrDup'
8.72 min.Function: 'SQLDisconnect'
10.72 min.Function: 'WNetDisconnectDialog'
11.53 min.Function: 'ShellExecute'
Google
Advertise here!