PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modifies the current connection. The current connection corresponds to the last opened connection or to the connection specified by SQLChangeConnection.
Important: HFSQL databases do not allow to open multiple connections simultaneously. Connection nesting can only be used for bases using ODBC, OLE DB, or Native Connector access.. The Native Connector AS/400 allows the maximum number of connections allowed by the license to be nested.
Versions 16 and later
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code The SQL functions are used to handle the local databases (such as Web SQL databases). For more details, see Accessing a database in local mode (SQLite).
New in version 16
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code The SQL functions are used to handle the local databases (such as Web SQL databases). For more details, see Accessing a database in local mode (SQLite).
WEBDEV - Browser code This function is now available in Browser code.
WEBDEV - Browser code The SQL functions are used to handle the local databases (such as Web SQL databases). For more details, see Accessing a database in local mode (SQLite).
Versions 18 and later
WEBDEV - Server codePHP This function is now available for PHP sites.
New in version 18
WEBDEV - Server codePHP This function is now available for PHP sites.
WEBDEV - Server codePHP This function is now available for PHP sites.
Example
// Les clients sont sur une base ORACLE
Conn1 is int = SQLConnect("ORACLE", "", "")
// La comptabilité est sur une base SQLSERVER
Conn2 is int = SQLConnect("SQLSERVER", "", "")
...
// Accéder aux clients
SQLChangeConnection(Conn1)
...
// Accéder à la comptabilité
SQLChangeConnection(Conn2)
...
// Fermeture de la connexion en cours
SQLDisconnect()
// Fermeture de la connexion en cours
SQLDisconnect()
Syntax
<Result> = SQLChangeConnection(<Connection Number>)
<Result>: Boolean
  • True if the change of connection was performed,
  • False otherwise.
<Connection Number>: Integer
Number of the connection to use, returned by SQLConnect.
Component: wd270hf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment