Hi,
I believe that you synced with Batching enabled. The value of TotalChanges increases when applying a new batch because provider starts to know the number of changes to be applied in the new batch. Before reaching the last batch, the real TotalChanges
of this sync session is unknown to the provider. The progress bar that you want to implement is not supported today. If it is ok for you to keep ajusting the totalChange value in your progress bar, you can still use your equation to display the progress.
It is not perfect, but there is no better solution so far.
Thanks,
Dong
This posting is provided AS IS with no warranties, and confers no rights.