Counter Nested Repeating Table. - InfoPath Dev
in

InfoPath Dev

Counter Nested Repeating Table.

Last post 02-17-2013 07:48 PM by Mel Clemente. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-28-2013 01:12 PM

    Counter Nested Repeating Table.

    I am haveing issue making a counter using  count(../preceding-sibling::*/my:Index_Count) + 1.

    It almost works but i am not sure how to tweek it get what i need. here is one sequence 3 repeating section nested (How int currently works)

    section 1 (1)

         section 2 (1)

                 section3(1)

                 section3(2)

                 section3(3)

         section 2 (2)

                 section3(1)

                 section3(2)

                 section3(3

    I need it to work like this it is the counting in section 3 that needs to keep counting.

     section 1 (1)

         section 2 (1)

                 section3(1)

                 section3(2)

                 section3(3)

         section 2 (2)

                 section3(4)

                 section3(5)

                 section3(6)

    section 1 (2)

         section 2 (1)

                 section3(7)

                 section3(8)

                 section3(9)

         section 2 (2)

                 section3(10)

    Thanks

    James

    James

  • 02-17-2013 07:48 PM In reply to

    Re: Counter Nested Repeating Table.

    If this looks like what you're trying to achieve:

     

    Then the formula for your section3 field's default value should be: count(../preceding::my:section3/my:Index_Count) + 1

    I attached a sample form for your reference.

    Hope that helps!

    Mel Clemente
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

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