ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / Managing replications / WLanguage functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
MaConnexion is Connection

MaConnexion.RSWaitForDataProcess(idRpl, 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 representing the number of milliseconds,
  • a Duration variable,
  • direct indication of duration (e.g. '10 ms').

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 representing the number of milliseconds,
  • a Duration variable,
  • direct indication of duration (e.g. '10 ms').
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help