ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Managing replications / WLanguage functions
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
<Connection variable>.RSWaitForDataProcess (Function)
In french: <Variable Connexion>.RSAttendTraitementDonnées
HFSQL Client/ServerAvailable only with this kind of connection
Waits for:
  • the data to replicate on the master server to be sent to the subscriber server.
  • the data to replicate received on the subscriber server to be entirely applied.
Example
MyConnection is Connection
 
MyConnection.RSWaitForDataProcess(RplID, 10000)
Syntax

Waiting for the data to replicate on the master server to be sent to the subscriber server Hide the details

<Result> = <Connection>.RSWaitForDataProcess(<Replication> , <Timeout>)
<Result>: Boolean
  • True if the data is sent,
  • False if an error occurred or if the timeout is exceeded.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to the master HFSQL server.
<Replication>: Integer
Replication identifier. This identifier corresponds to the Identifier property of the hRSConfig variable describing the replication.
<Timeout>: Integer
Maximum timeout in milliseconds. This parameter can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • the direct indication of duration ('10ms' for example).

Waiting for the data to replicate received on the subscriber server to be entirely applied Hide the details

<Result> = <Connection>.RSWaitForDataProcess(<Master server> , <Replication> , <Timeout>)
<Result>: Boolean
  • True if the data is applied,
  • False if an error occurred or if the timeout is exceeded.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to the subscriber HFSQL server.
<Master server>: Integer
Identifier of master server.
<Replication>: Integer
Replication identifier. This identifier corresponds to the Identifier property of the hRSConfig variable describing the replication.
<Timeout>: Integer
Maximum timeout in milliseconds. This parameter can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • the direct indication of duration ('10ms' for example).
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help