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:
How to retrieve list of system DSNs (Data Source Name) with parameters
SQLSetConfigMode
..msdn    Add comment     W32 Constants      Translate this page
Sets the configuration mode that indicates where the Odbc.ini entry listing DSN values is in the system information.
Code examples:
How to retrieve list of system DSNs (Data Source Name) with parameters
Declaration:
BOOL SQLSetConfigMode(
    UWORD wConfigMode);
FoxPro declaration:
DECLARE INTEGER SQLSetConfigMode IN odbccp32;
    LONG wConfigMode
Parameters:
wConfigMode
[in] The installer configuration mode.
Return value:
The function returns TRUE if it is successful, FALSE if it fails.
My comment:
The value in wConfigMode can be:
  • ODBC_USER_DSN
  • ODBC_SYSTEM_DSN
  • ODBC_BOTH_DSN

    See also SQLGetConfigMode function.
  • Word Index links for the SQLSetConfigMode :
    Translate this page:
      Spanish    Portuguese    German    French    Italian  
    FreeTranslation.com offers instant, free translations of text or web pages.
    Created: 2004-08-11 13:20:01
    Modified: 2004-08-11 13:22:16
    Visited in last 7 days: 5
    User Contributed Notes:
    There are no notes on this subject.


    Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
    Google
    Advertise here!