ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Managing replications / Server replication
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
HRSWaitForDataProcess (Function)
In french: HRSAttendTraitementDonné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
cnt is Connection
 
HRSWaitForDataProcess(cnt, RplID, 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 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> = 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 corresponding to the number of milliseconds,
  • a Duration variable,
  • the direct indication of duration ('10ms' for example).
Component: wd290hf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help