PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → When to know if Replication is Complete?
When to know if Replication is Complete?
Débuté par ALLEN, 16 déc. 2013 19:09 - 2 réponses
Membre enregistré
8 messages
Posté le 16 décembre 2013 - 19:09
I'm testing out the replication feature of HyperFileSQL Server / Client for use in our companies applications.
I've set up and successfully replicated the data but we required a button that will synchronize the data for the user to press.
I've set up the replication for Every Day at 2359 and given the user the ability to synchronize whenever they want/can.

The problem is that the synchronization happen in the background. I need to be able to monitor the synchronization and let the user know when the synchronization is complete. How can I tell if the replication is complete? Is there a variable that changes? Can I link the replication to a progress bar?
Membre enregistré
8 messages
Posté le 16 décembre 2013 - 19:21
I failed to mention in my OP(Original Post) that I am using WebDev 18 on Windows 7 Professional.

--
Zach Allen
BaseBridge Ltd.
Software Developer
Membre enregistré
8 messages
Posté le 16 décembre 2013 - 19:48
I'm using the following code to start the replication:
IF HRSExecute(MyConnection,ConfigReplication..Identifier) THEN
Info("Synced with " + ConfigReplication..Server)
END


--
Zach Allen
BaseBridge Ltd.
Software Developer