I have two rosters: households and persons. For each household, I can enter n persons. For example, I need to enter 2 households: I enter household 1 and then jump to the persons roster, where I enter two persons belonging to that household. Then I return to the household roster and enter household 2 and one person belonging to that household. After entering the two households with their respective persons and completing other questions in the end of survey section, I get the message:
"All of the ID fields were not filled, please reenter."
When I review the case using the CSPro Data Viewer, the records for the two persons from household 1 are missing.
All of the ID fields were not filled
-
Gregory Martin
- Posts: 1947
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: All of the ID fields were not filled
If you are using the skip statement to move from the household to person roster, and you are collecting data in system-controlled mode, then fields that you skip over will be cleared when the case is cleared. What you want to do to prevent that is to use "advance" rather than "skip," which will keep those fields "on path" and they won't be cleared.
Alternatively, you might consider splitting your application in two. After entering the household data, you could open another data entry application to enter the person data for that household. Post-data collection, you would combine the household and person data.
https://www.csprousers.org/help/CSPro/P ... ction.html
You can also use a second form file for the population data and then use the enter statement from the household roster to control when the population data is entered. Unfortunately there aren't many details in the helps about this, but there is an example in the CSPro examples folder:
1 - Data Entry\Using External Files & Forms
https://www.csprousers.org/help/CSPro/e ... ement.html
Alternatively, you might consider splitting your application in two. After entering the household data, you could open another data entry application to enter the person data for that household. Post-data collection, you would combine the household and person data.
https://www.csprousers.org/help/CSPro/P ... ction.html
You can also use a second form file for the population data and then use the enter statement from the household roster to control when the population data is entered. Unfortunately there aren't many details in the helps about this, but there is an example in the CSPro examples folder:
1 - Data Entry\Using External Files & Forms
https://www.csprousers.org/help/CSPro/e ... ement.html