PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 23 → [WM23] Replication
[WM23] Replication
Iniciado por ARV, jan., 08 2019 8:23 PM - 3 respostas
Membro registado
281 mensagems
Publicado em janeiro, 08 2019 - 8:23 PM
Hi all

I have an issue.

If my project have the set up for a bidirectional replication it works (kind of) to send my data only if the app sync first and then send data, but if the config it's on one direction there's the problem

My first sync (the one I always do in the first run of my app) it blank all of my tables

also I config all of my tables in one and there I config what table can be bidirectional and one direction.

but theres the problem I can't run that code in the first run of my app, it will blank all of the data I have on my server, I don't really want to have two set of config it will no make any sense at all.

So there's a way to not blank my data?

any idea?

PD: I read all the documentation of this tool on PCsoft help but it doesn't show anything of this, only how to put it on work an all

Thanks!

--
Best Regards
ARV
Membro registado
281 mensagems
Publicado em janeiro, 08 2019 - 8:28 PM
Hi all

Also

I have two devices and data on my server

if my device 1 send data it will replace all my data on my server and if my device 2 send data it will replace the data of my device 1 that replace the data of the server on the server.

I guess you get the idea.

I don't really want this at all it make it that the only way to have all the data it's with bidirectional option but I don't want this, the device will have all the data of the other devices and they generate data that I don't want to the user see it.

--
Best Regards
ARV
Publicado em janeiro, 10 2019 - 6:54 PM
I will Re-write my question.

How could I send the data from HFSQL Classic (Android device) to my server only with Unidirectional?
Without blanking my data of my server.

I try it using Universal Replication of windev but this only blank my data and then replicate my data of my Android device
Like well it's obvious this could happend but.

There's a way to send the data with the replication only with unidirectional.
Also There's more than 1 android device with the app so everyone have to send new data that generated the app to the server. In a way I can't lose data.
Membro registado
281 mensagems
Publicado em janeiro, 16 2019 - 9:43 PM
Hi all

in the end PCsoft report that they see problems with the monodirectional replication so they will "fix" this problem.

--
Best Regards
ARV