How to loop through a repeating table within a repeating table - InfoPath Dev
in

InfoPath Dev

How to loop through a repeating table within a repeating table

Last post 09-10-2012 03:50 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-06-2012 08:12 AM

    How to loop through a repeating table within a repeating table

    I have a repeating group (partNumProduced) nested within another repeating group (ToolingForm).  I am trying to loop through a field in the partNumProduced group to collect all of the part numbers listed and concat them into 1 string.  I have used the double eval trick for this on another form but that form only had one repeating section.  For my nested repeating tables situation, I found this solution:

    eval(eval(eval(partNumberProduced, "."), 'concat(., ";")'), "..")    but there are two problems with it  1) When another instance of ToolingForm is inserted, the part numbers are copied into the totalPartNumbers Field in each instance of ToolingForm  (see attached screenshot).   How can I keep the part numbers provided to display only within their own tooling form?   2)  Second problem is a small one, but I would like to remove the extra semicolon at the end of the list of part numbers.    Thank you in advance for you help!

     
  • 09-10-2012 03:50 PM In reply to

    Re: How to loop through a repeating table within a repeating table

    Hi - are you using qRules? If so, you should be able to use the DelimitedList command for this.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.