How to cumulate the count of repeat in a repeat

Dear All,
It is workable to use count(/repeat) to get the number of repeats. how ever, this has to be done outside the repeat. is it possible to have a variable in the repeat to count the number of repeats cumulatively.
Regards
Zaixing

position(..) should give you the index of the repeat.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, May 26, 2014 at 2:59 AM, zhangzaixing2014@gmail.com wrote:

Dear All,
It is workable to use count(/repeat) to get the number of repeats. how ever, this has to be done outside the repeat. is it possible to have a variable in the repeat to count the number of repeats cumulatively.
Regards
Zaixing

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks So much Yaw. it works now!
Zaixing

Thanks So much Yaw. it works now!
Zaixing

··· On Tuesday, May 27, 2014 6:54:07 PM UTC+11, zhangzai...@gmail.com wrote: