PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example: Database on a site
  • Example: Database on a remote access server
HConnectRemoteAccess (Example)
Example: Database on a site
WINDEVWEBDEV - Server codeReports and QueriesWindowsWindows MobileUser code (UMC)HFSQL
// Open the database on a site by using the default user
IF HConnectRemoteAccess("www.serversite.com") = False THEN
IF YesNo(No, "Unable to connect to the remote database.", ...
 HErrorInfo(), "Do you want to use the local database?") = No THEN
EndProgram()
END
END
Example: Database on a remote access server
WINDEVWEBDEV - Server codeReports and QueriesWindowsWindows MobileUser code (UMC)HFSQL
// Open the analysis on the remote access server with the user named User
IF HConnectRemoteAccess("192.168.1.1", "User", "User", "MyAnalysis.WDD") = False THEN
Error("Unable to open the analysis. (Error " + HErrorInfo() + ")")
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment