How to create an auto increment line number, in between BEGIN REPEAT type of question?

Hello friends i need your help..

This is my requirement :

begin repeat
Q.no.1 : line no: (auto increment) not enter by user but store in data base
like 1,2,3,4

Q.no.2 : what is your name?
Q.no.3 : ...
.....

end repeat

If by "line number" you mean the number of the repeat-group iteration (1
for the first pass, 2 for the second, etc.), then a calculate function with
"position(..)" as the calculation may work for you. That's working in
SurveyCTO now, and it may or may not work in the latest ODK Collect. There
were a few small issues with it, and we submitted fixes relatively
recently; they may or may not have been integrated into the latest ODK
Collect. In any case, it's worth a try.

Best,

Chris

ยทยทยท On Mon, Jul 15, 2013 at 7:12 AM, wrote:

Hello friends i need your help..

This is my requirement :

begin repeat
Q.no.1 : line no: (auto increment) not enter by user but store in data base
like 1,2,3,4

Q.no.2 : what is your name?
Q.no.3 : ...
.....

end repeat

--

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/groups/opt_out.