Repeat command

Hi,

I am working with repeat command for creating a roster, and creating second
roster from the first roster. Let me explain that I wanted to achieve using
repeat command.

Using repeat command, I am collecting information related to members in a
household, say

name,
age,
sex,
relationship

After collecting household level information, we wanted to create another
roster from this household roster where relationship=son/daughter.

Can anyone please suggest how to create second roster of children
information from household roster i.e the first roster.

Really appreciate any suggestions or comments.

Thanks,

Surajit

See https://opendatakit.org/help/form-design/#xpath_expressions

··· On Thu, Jun 30, 2016 at 9:40 AM, Surajit wrote:

Hi,

I am working with repeat command for creating a roster, and creating
second roster from the first roster. Let me explain that I wanted to
achieve using repeat command.

Using repeat command, I am collecting information related to members in a
household, say

name,
age,
sex,
relationship

After collecting household level information, we wanted to create another
roster from this household roster where relationship=son/daughter.

Can anyone please suggest how to create second roster of children
information from household roster i.e the first roster.

Really appreciate any suggestions or comments.

Thanks,

Surajit

--

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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thanks for the info.

I am developing the solution using XLSForm and the link has information
XForm.

Surajit

··· On Thursday, June 30, 2016 at 12:40:24 PM UTC-4, Surajit wrote: > > Hi, > > I am working with repeat command for creating a roster, and creating > second roster from the first roster. Let me explain that I wanted to > achieve using repeat command. > > Using repeat command, I am collecting information related to members in a > household, say > > name, > age, > sex, > relationship > > After collecting household level information, we wanted to create another > roster from this household roster where relationship=son/daughter. > > Can anyone please suggest how to create second roster of children > information from household roster i.e the first roster. > > Really appreciate any suggestions or comments. > > Thanks, > > Surajit > >

XLSForm compiles into XForm.

If you need to refer to elements within a repeat group, this link describes
the reliable way to reference those fields.

${fieldname} will not work to reference fieldname within a repeat group.

It will break once you add a second repeat to the group.

When developing a form, it is important to always add 2 or more repeats to
any repeat group so that you can verify that you have not accidentally used
the ${} notation to reference values within the repeat group.

··· On Thu, Jul 7, 2016 at 7:29 PM, Surajit wrote:

Thanks for the info.

I am developing the solution using XLSForm and the link has information
XForm.

Surajit

On Thursday, June 30, 2016 at 12:40:24 PM UTC-4, Surajit wrote:

Hi,

I am working with repeat command for creating a roster, and creating
second roster from the first roster. Let me explain that I wanted to
achieve using repeat command.

Using repeat command, I am collecting information related to members in a
household, say

name,
age,
sex,
relationship

After collecting household level information, we wanted to create another
roster from this household roster where relationship=son/daughter.

Can anyone please suggest how to create second roster of children
information from household roster i.e the first roster.

Really appreciate any suggestions or comments.

Thanks,

Surajit

--

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.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I am using XLSForm, from your suggestion it seems like XLSForm may not give
the solution.

Let me explain my issue differently. I want to run two repeat commands
separately, first one to gather records, second one to choose few records
from the records created from first repeat.

I am able to choose the subset of records from first repeat, but the number
of records in the second group is same as first, but with few blank
records, which I wanted to delete.

May be I should start exploring working on XForm.

Many thanks for your response.

Surajit

··· On Friday, July 8, 2016 at 3:25:45 PM UTC-4, Mitch Sundt wrote: > > XLSForm compiles into XForm. > > If you need to refer to elements within a repeat group, this link > describes the reliable way to reference those fields. > > ${fieldname} will not work to reference fieldname within a repeat group. > > It will break once you add a second repeat to the group. > > When developing a form, it is important to always add 2 or more repeats to > any repeat group so that you can verify that you have not accidentally used > the ${} notation to reference values within the repeat group. > > > > On Thu, Jul 7, 2016 at 7:29 PM, Surajit <sbba...@gmail.com > wrote: > >> Thanks for the info. >> >> I am developing the solution using XLSForm and the link has information >> XForm. >> >> Surajit >> >> >> On Thursday, June 30, 2016 at 12:40:24 PM UTC-4, Surajit wrote: >>> >>> Hi, >>> >>> I am working with repeat command for creating a roster, and creating >>> second roster from the first roster. Let me explain that I wanted to >>> achieve using repeat command. >>> >>> Using repeat command, I am collecting information related to members in >>> a household, say >>> >>> name, >>> age, >>> sex, >>> relationship >>> >>> After collecting household level information, we wanted to create >>> another roster from this household roster where relationship=son/daughter. >>> >>> Can anyone please suggest how to create second roster of children >>> information from household roster i.e the first roster. >>> >>> Really appreciate any suggestions or comments. >>> >>> Thanks, >>> >>> Surajit >>> >>> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@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...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >