savepartial
Posted: April 21st, 2018, 9:04 am
I have an application that has a menu that calls the real data entry application to do the interview.
In the real application, there is provision to stop the interview (to return later) and the program executes a savepartial.
At this point, the program saves the variable name where the interview should be continued.
The control returns to the menu.
In the menu, the operator decides to continue the partially saved interview, and calls again the real application, in modify mode, passing as a parameter the field name where the interview should restart.
When the real application is executed, the control goes right to the field where it should restart. No problem so far, everything is done pretty well. But...
1. All the previous fields in the flow are not set, they have notappl, with the exception of the string fields, which are set.
2. The totocc of the previous rosters are 0.
3. All the contents of the rosters are also notappl.
This would not be a problem if we did not need to refer to those fields, because the values are there, in the records. But if you need to know for instance, how many persons you have in the questionnaire you are done.
I´ve tried to execute a loadcase, but this is possible only with external dictionaries.
The question is: Is there a way in which we execute a questionnaire in modify mode and have access to all the fields?
Best
Ari
In the real application, there is provision to stop the interview (to return later) and the program executes a savepartial.
At this point, the program saves the variable name where the interview should be continued.
The control returns to the menu.
In the menu, the operator decides to continue the partially saved interview, and calls again the real application, in modify mode, passing as a parameter the field name where the interview should restart.
When the real application is executed, the control goes right to the field where it should restart. No problem so far, everything is done pretty well. But...
1. All the previous fields in the flow are not set, they have notappl, with the exception of the string fields, which are set.
2. The totocc of the previous rosters are 0.
3. All the contents of the rosters are also notappl.
This would not be a problem if we did not need to refer to those fields, because the values are there, in the records. But if you need to know for instance, how many persons you have in the questionnaire you are done.
I´ve tried to execute a loadcase, but this is possible only with external dictionaries.
The question is: Is there a way in which we execute a questionnaire in modify mode and have access to all the fields?
Best
Ari