Page 1 of 1

Partial Save In Android

Posted: April 1st, 2016, 5:57 am
by munirmdee1
How to program a partialsave in android data entry application. Because, I have developed one but it give an error when trying to open a partialsaved case. I'm getting this error: "Invalid subscript C01A(0) - Var C04A Post Proc", C01A and C04A are questions in a roster.

Please any idea or solution for such a problem?

Thanks in advance

Re: Partial Save In Android

Posted: April 1st, 2016, 10:34 am
by josh
When you come back from partial save all the procs in all the fields from the start of the questionnaire to the field you were in when you did the partial save are run. Whatever logic you are doing in the C04A postproc is getting run and is using an invalid subscript. Without seeing that logic it is hard to say why.

Re: Partial Save In Android

Posted: February 15th, 2024, 5:26 am
by arkagwa
I think you are calling for a value entered and check on variable C01A and make correct action on C04A.
Normally the first occurrence=1 if you are checking for multiple answers in C01A. Therefore your logic should start at occurrence=1 and not =0. Occurrence 0 does not exist