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
Synchronisation from Logic
-
- Posts: 1796
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: Synchronisation from Logic
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
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