I have an issue with synchronization of paradata. I have many devices on the field for data collection and i try to use these command to generate paradata pair day of collection and synchronize daily base.
Code: Select all
[code]
filewrite(pfffile, concat("InputData=", strip(data), slash,cville,"_", ctypedsf,"_",csaisie,"_",fcodes[mainver:1], xclustera, ".csdb"));
filewrite(pfffile, concat("<paradata>=", strip(data), slash,cville,"_", ctypedsf,"_",csaisie,"_",fcodes[mainver:1], xclustera, ".cslog"));
But it doesn't work
Secondly, How to synchronize just update using dropbox? I frequently use in my menu the function below to synchronize data. I can i change it in order to synchronise only new case.
ThankCode: Select all
function transfert_donnee() errmsg("Transfert des données par dropbox"); if syncconnect(dropbox) then syncfile(put,concat("../DATA/" , "*"),concat("\survey\DATA",slash,edit("9",ville),"_",edit("99",code_agent),"_",edit("99999999",sysdate("DDMMYYYY")),"_",edit("99:99:99",systime()))); errmsg("Synchronization reussie !!!"); endif; end