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
Returns information about a replication. This replication was defined by the replication editor (ReplicEdit).
Example
IF RéplicInfo("MyReplication", replicExist) = True THEN
        ReplicSynchronize("MyReplication")
END
Syntax
<Result> = ReplicInfo(<Replication name> , <Requested information>)
<Result>: Type corresponding to the requested information
Information requested by <Requested information>.
<Replication name>: Character string
Name of the replication to use. This name corresponds to:
  • the name of ".wer" file, created by ReplicEdit (for an online replication). This file must be found beside the executable.
  • the publication name (for a replication server).
<Requested information>: Integer constant
Requested information about the specified replication:
replicExist<Result> is set to:
  • True if the replication exists (which means if the.WER file is found beside the executable).
  • False if the replication does not exist.
Remark: For a replication via the replication server, <Result> is set to True if the parameters passed to ReplicOpen are correct.
replicInitialized<Result> is set to:
  • True if the replication is initialized,
  • False if the replication is not initialized.
A non-fatal error occurs if the replication does not exist. This error can be processed by the ErrorOccurred variable.
replicSynchronizationDate<Result> corresponds to the date of the last synchronization.
A non-fatal error occurs if the replication does not exist. This error can be processed by the ErrorOccurred variable.
replicSynchronizationRequestDate<Result> corresponds to the date of the last request for synchronization.
A non-fatal error occurs if the replication does not exist. This error can be processed by the ErrorOccurred variable.
Component: wd290rpl.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/07/2023

Send a report | Local help