Synchronisation from Logic

What would you like to see in CSPro?
Post Reply
Posts: 2
Joined: May 14th, 2021, 9:43 pm

Synchronisation from Logic

Post by Ekoutiame » May 15th, 2021, 8:21 am

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,


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

Re: Synchronisation from Logic

Post by Gregory Martin » May 19th, 2021, 9:26 am

There are two general options for synchronization:

1) Use Simple Sync: ... 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: ... 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