Repeating table drop-down option sums - InfoPath Dev
in

InfoPath Dev

Repeating table drop-down option sums

Last post 01-14-2012 04:09 AM by Karsten Brocksieper. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-13-2012 08:19 AM

    • paulmc
    • Not Ranked
    • Joined on 01-13-2012
    • Posts 3

    Repeating table drop-down option sums

    Hi

     I have a drop-down option in a repeating table which allows the user to select a category. The user can then enter an amount in another field. I'm trying to break down the totals for each category option, e.g. Food, Travel, Hotel, etc.

    Playing with the form I think part of the problem I have is the category doesn't appear to change from line to line. Any ideas?

     Thanks, Paul

  • 01-13-2012 09:22 AM In reply to

    Re: Repeating table drop-down option sums

    Hi Paul,

    I understand your problem as that if you change the dropdown value in the repeating control that it changes the value for all instances instead of just the one row.  If that is the case, then the problem is likely that your dropdown control isn't bound correctly.  You'll need to make sure its bound to a field under the same repeating group that the table is bound to.  Then the values we be different for each row.

    If I misunderstood, feel free to clarify and I can try to answer your question better :)

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

  • 01-14-2012 04:09 AM In reply to

    Re: Repeating table drop-down option sums

    Hello Paul,

    and welcome to our forum.

    The following blog post will show you how to create an expression box in an InfoPath form whose value is based on the result of an conditional sum. In my opinion this is what you want to achieve. You will sum per category?

    Please have a look a the following link:

    http://blogit.create.pt/blogs/miguelisidoro/archive/2008/08/02/InfoPath-2007-_2D00_-Conditional-SUM.aspx

    Regards,

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