Partial Save In Android

Discussions about CSEntry
Post Reply
munirmdee1
Posts: 75
Joined: August 17th, 2015, 9:32 am
Location: Dar es Salaam, Tanzania

Partial Save In Android

Post 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
Munir Mdee
Software Programmer
National Bureau of Statistic (NBS)
Jakaya Kikwete Road,
P.O.Box 2683,
Dodoma,TANZANIA
Mob: +255 755 740090
Email: munir.mdee@nbs.go.tz
munirmdee@gmail.com
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Partial Save In Android

Post 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.
arkagwa
Posts: 119
Joined: November 18th, 2014, 5:25 am

Re: Partial Save In Android

Post 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
Post Reply