Using 'count' logic in repeating sections - InfoPath Dev
in

InfoPath Dev

Using 'count' logic in repeating sections

Last post 04-19-2012 01:14 PM by rdrnnr. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-13-2012 07:13 AM

    Using 'count' logic in repeating sections

    I need to have a total count from all repeating sections not just one.  I'm creating a checklist that has a repeating section. Using the data from that section, in another view, I'm trying to count the number of questions in the repeating section with a defined answer (i.e. discrepancy).  xpath logic to count for one section is working.  However, once we add another section, the numbers aren't adding up together.

    Any assistance is appreciated.  Thank you.

  • 04-13-2012 10:17 AM In reply to

    Re: Using 'count' logic in repeating sections

    Hi,

    I'm attaching a sample form that you can open in Design mode to take a look at the design and then Preview to test it out. Perhaps this is what you need?

    Thanks!

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


  • 04-13-2012 11:15 AM In reply to

    Re: Using 'count' logic in repeating sections

    Thanks, I see where this can work but is this automatic?  I apologize, I should have mentioned that the number of repeating sections will vary depending on which facility is being inspected.  Some may have only one for the first section and two for the second section or another might have three for the first section and two for the second section.  Make sense?
  • 04-13-2012 11:22 AM In reply to

    Re: Using 'count' logic in repeating sections

    Also, on trying the form that you sent, whatever number is in the first repeating section, also reflects in the second section. 

  • 04-13-2012 02:32 PM In reply to

    Re: Using 'count' logic in repeating sections

    Perhaps you can post a sample showing what you are trying to do? Under the Options tab, you can attach a file....

    Hilary Stoupa

  • 04-19-2012 01:14 PM In reply to

    Re: Using 'count' logic in repeating sections

    Thanks, I think I have it working (at least for now) unless we use the 'eval' function to combine results.  I haven't tested that yet.  Thank you.

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