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
HRplFilterProcedure (Function)
In French: hRPlProcédureFiltre
ODBCOLE DBNot available with these kinds of connection
Defines the WLanguage procedure that will be called whenever a replication operation is performed on a specific data file. This procedure is run by HCreateMoveableReplica and HSynchronizeReplica.
Note: This function can be used during the universal replication only.
Windows Mobile Only the universal replication is available. The universal replication operates for the mobile devices running Windows version 2003 and later.
Note: The replication is not available when accessing a database via Remote access.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
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
iPhone/iPad This function is now available for the iPhone/iPad applications.
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
iPhone/iPad This function is now available for the iPhone/iPad applications.
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.
iPhone/iPad This function is now available for the iPhone/iPad applications.
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 procedure validates the messages.
// MessageValidation will be called for each replicated message
HRplFilterProcedure(Messages, "MessageValidation")

// Prepare to send messages to Paris (from MPL)
HCreateMoveableReplica("P:\MSG\MSG.RPM", "Paris", "C:\Temp\MsgMPL.zip")
Syntax
<Result> = HRplFilterProcedure(<File Name> , <Procedure Name>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred (the specified tables and items do not exist for example). HError is used to identify the error.
    Caution: <Result> is set to True even if the specified files/tables are not replicated.
<File Name>: Character string (with or without quotes)
Name of the data file or table on which the procedure must be run.
<Procedure Name>: Character string corresponding to a WLanguage procedure
Name of a WLanguage procedure found in the WINDEV application or in the WEBDEV site. This procedure must be created in your application. This procedure expects no parameter. This procedure is called before each operation performed on the destination file. Several variables can be used in this procedure. If this procedure returns False, the operation is not performed. This procedure is used to:
  • filter the records that must not be replicated.
  • manage the conflicts, by adjusting the values before a duplicate error occurs.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230rpl.dll
Windows Mobile wp230rpl.dll
Linux wd230rpl.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment