PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 19 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
New in version 19
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
New in version 22
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the WEBDEV sites in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WEBDEV - Server codeLinux This function is now available for the 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230rpl.dll
Windows Mobile wp230rpl.dll
Linux wd230rpl.so
Android wd230android.jar
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment