ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example 1: Describing a connection on SQL Server via Native Access
  • Example 2: Describing a connection on SQL Server via OLE DB
  • Example 3: Describing a connection on SQL Server via OLE DB
  • Example 4: Describing an Access connection
HOpenConnection (Example)
Example 1: Describing a connection on SQL Server via Native Access
HFSQL ClassicHFSQL Client/ServerNative Connectors (Native Accesses)
// Open an SQL Server connection
HOpenConnection("MyConnection", "User", "Password", ...
"Server_SQLServer", "dbo", hNativeAccessSQLServer, hOReadWrite)
 
// Open an SQL Server connection with Windows authentication
HOpenConnection("MyConnection", Null, Null, "Server_SQLServer", "dbo", ...
hNativeAccessSQLServer, hOReadWrite, "Trusted_Connection=YES")
Example 2: Describing a connection on SQL Server via OLE DB
Example 3: Describing a connection on SQL Server via OLE DB
Example 4: Describing an Access connection
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help