Synchronisation from Logic

What would you like to see in CSPro?
Forum rules
New release: CSPro 8.0
Post Reply
Ekoutiame
Posts: 2
Joined: May 14th, 2021, 9:43 pm

Synchronisation from Logic

Post by Ekoutiame »

Hello dear, I want to write a synchronisation from logic code. First I want to know where to include the synchronisation from logic code in cspro logic.

Seconde I want after the synchronisation of the data by the enumerator, the questionnaire quit the tablet so that the enumerator do not have access to the questionnaire anymore. I will be happy to have an example code.

Best regards,

Ekoutiame
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Synchronisation from Logic

Post by Gregory Martin »

There are two general options for synchronization:

1) Use Simple Sync: https://www.csprousers.org/help/CSPro/s ... imple.html. With this approach, the interview controls when the data is synchronized.

2) Have your sync executed as part of a menu program. In this way, the data of interest is loaded as an external dictionary to a menu program and you write your own sync logic.

See more here: https://www.csprousers.org/help/CSPro/s ... ation.html

If you want to write sync logic, then you have to go with the second option. There is an example of a menu program in the CSPro examples folder:

1 - Data Entry\CAPI Census\Menu
Post Reply