PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Reconnection to the server
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HReconnect (Function)
In French: HReconnecte
Establishes a reconnection to the server for all the interrupted connections. The uninterrupted connections are not modified.
Notes:
  • To use this feature, the HFSQL server and the client application must be in version 14 or later.
  • By default, when a connection error occurs, the mechanism for assisted management of errors displays a window or a page allowing the user to reconnect. This mechanism can be customized by HOnError.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 20 and later
WINDEVJava This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
New in version 20
WINDEVJava This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Syntax
<Result> = HReconnect()
<Result>: Boolean
  • True if the reconnection was performed,
  • False otherwise. HErrorInfo returns more details about the problem.
Remarks

Reconnection to the server

An application can lose the connection to the server for one of the following reasons:
  • loss of GPRS link.
  • intervention on the network.
  • update of the server.
  • crash of the server.
  • standby of the client computer.
HReconnect allows the client to reconnect to the server without having to restart the application.

Limits

The reconnection cannot be performed in the following cases:
  • The application includes a transaction in progress. Indeed, the transaction was automatically canceled by the server when the client was disconnected.
  • The application has locked the entire data file.
  • The application has performed a "read/write" lock on a data file.
  • The application has performed a lock in "write mode" on a data file and another application has modified this record while the application was not connected.
  • The application performed a lock in write mode with HFirst, HNext, HPrevious or HLast.
  • A view or a query is currently filled and a browse was started on this view or query.
In these different cases, <Result> is set to False.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Java wd230java.jar
Linux wd230hf.so
Android wd230android.jar
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment