PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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
HFSQLHFSQL Client/ServerNative Connectors (Native Accesses)
// Open a SQL Server connection
HOpenConnection("MyConnection", "User", "Password", ...
"Server_SQLServer", "dbo", hNativeAccessSQLServer, hOReadWrite)

// Open a 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