PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HRplManageFile (Function)
In french: HRplGestionFichier
ODBCOLE DBNot available with these kinds of connection
Defines the options used for the universal replication of a data file:
  • the replication direction.
  • the management mode of conflicts.
By default, all the data files use the synchronization characteristics defined by HSynchronizeReplica. HRplManageFile can be used to specify that the replication for a given data file will be performed from the master to the subscriber (while a bidirectional replication will be performed for all the other files).
This function can be used in universal replication only. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 22 and later
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
New in version 22
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux This function is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Example
// The Product file will be replicated from master to subscriber only
HRplManageFile(Product, rplReplicationConflictManagement, rplToSubscriber)
Syntax
HRplManageFile(<File name> , <Management of conflicts> [, <Replication direction>])
<File name>: Character string (with or without quotes)
Name of the data file to configure.
<Management of conflicts>: Integer constant
Constant indicating the management mode of conflicts:
rplSubscriberFirstThe data found in the subscriber data file has priority during the replication.
rplReplicationConflictManagement
(default value)
The file will use the management mode of conflicts specified by HSynchronizeReplica.
rplMasterFirstThe data found in the master data file has priority during the replication.
rplMostRecentFirstThe most recent data has priority. Caution, the most recent data is evaluated according to the time on the subscriber replica.
<Replication direction>: Optional integer constant
Direction in which the replication will be performed:
rplBidirectional
(default value)
Update the master file AND the subscriber file.
rplToSubscriberUpdate the subscriber file according to the master database.
rplToMasterUpdate the master file according to the subscriber database.
Component : wd250rpl.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment