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 / Server replication
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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
cnx is Connection

HRSWaitForDataProcess(cnx, idRpl, 10000)
Syntax

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

<Result> = HRSWaitForDataProcess(<Connection> , <Replication> , <Timeout>)
<Result>: Boolean
  • True if the data is sent,
  • False if an error occurred or if the timeout is exceeded.
<Connection>: Character string or Connection variable
Connection to the master HFSQL server. This connection corresponds to:
<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> = HRSWaitForDataProcess(<Connection> , <Master server> , <Replication> , <Timeout>)
<Result>: Boolean
  • True if the data is applied,
  • False if an error occurred or if the timeout is exceeded.
<Connection>: Character string or Connection variable
Connection to the HFSQL subscriber server. This connection corresponds to:
<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 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help