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
Constants for manging the replication
ConstantDetailsUsed by the functions
rplBidirectional
  • Update the master database AND the subscriber database.
  • Update the master file AND the subscriber file.
HSynchronizeReplica,
HRplManageFile
rplDateSynchroFromMasterSought information: Date of the last synchronization from the master database.HInfoReplica
rplDateSynchroFromSubscriberSought information: Date of last synchronizationHInfoReplica
rplDateSynchroToMasterSought information: Date of the last synchronization toward the master database.HInfoReplica
rplDateSynchroToSubscriberSought information: Date of the last synchronization toward the subscriber database.HInfoReplica
rplDeleteConflictThe record was deleted from the destination replica and it was modified or deleted in the source replica.HSynchronizeReplica
rplHAddReplicate an additionHSynchronizeReplica
rplHDeleteReplicate a deletionHSynchronizeReplica
rplHModifyReplicate a modificationHSynchronizeReplica
rplMasterFirstThe data found in the master database has priority during the replication.HSynchronizeReplica
rplMasterIsUpToDateSought information: The master replica is updated or not.HInfoReplica
rplModifyConflictThe record was modified both in the source replica and in the destination replicaHSynchronizeReplica
rplMostRecentFirstThe most recent data has priority. Caution, the most recent data is evaluated according to the time on the subscriber replica.HSynchronizeReplica
rplNoConflictNo conflit was detectedHSynchronizeReplica
rplNumMovableReplicaSought information: Generation number of last movable replica that was generated.HInfoReplica
rplReplicatedItemReplicated item.HRplManageItem
rplReplicationConflictManagementThe file will use the management mode of conflicts specified by HSynchronizeReplica.HRplManageFile
rplReplicationDisabledUsed to temporarily disable the management of replication.HSetReplication
rplReplicationHeterogeneousConstant kept for backward compatibility. This constant is identical to rplReplicationUniversal.HSetReplication
rplReplicationLoggedAllows you to perform a replication between HFSQL files (uses the logged HFSQL files).HSetReplication
rplReplicationUniversalUsed to perform a universal replication (between a HFSQL database and an Oracle database for example).HSetReplication
rplSubscriberFirstThe data found in the subscriber database (or in the subscriber file) has priority during the replication.HSynchronizeReplica,
HRplManageFile
rplSubscriberIsUpToDateSought information: The subscriber replica is updated or notHInfoReplica
rplToMaster
  • Update the master database according to the subscriber database.
  • Update the master file according to the subscriber database.
HSynchronizeReplica,
HRplManageFile
rplToSubscriber
  • Update the subscriber database according to the master database.
  • Update the subscriber file according to the master database.
HSynchronizeReplica,
HRplManageFile
rplUnreplicatedItemUnreplicated item.HRplManageItem
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/07/2023

Send a report | Local help