ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 242526272820242025
IF HSynchronizeReplica("C:\Données", "D:\Temp", rplToSubscriber, FiltreRéplica) = True THEN Info("Réplication effectuée") END
PROCEDURE FiltreRéplica() ProgressBar(RPL.OperationNum, RPL.OperationMax) // ******************************** Filtrage des enregistrements ******************************** // Exemple : Exportation du catalogue des produits en promotion IF RPL.Direction = rplToSubscriber AND RPL.Operation = rplHAdd THEN IF RPL.File = "Produit" AND {RPL.SourceAlias + ".PROMO"} = False THEN // L'enregistrement ne doit pas être copié RETURN False END END // ************************************** Gestion des conflits *********************************** // Exemple : Test si le produit existe déjà // HLitRecherche(PRODUIT, CodeProduit, {RPL.AliasSource + ".CodeProduit"}) // SI HTrouve() ALORS // // L'enregistrement ne doit pas être copié // RENVOYER Faux // FIN // Pas de problème détecté RETURN True
Last update: 03/28/2025
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: