Repeating Table - Calculate Total - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Repeating Table - Calculate Total

Last post 01-31-2024 05:25 AM by LaceM. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-29-2024 05:39 PM

    • LaceM
    • Not Ranked
    • Joined on 01-27-2021
    • Posts 6

    Repeating Table - Calculate Total

    I have a InfoPath 2013 Form that has a repeating table. The repeating table pulls information from a secondary data source. The customer access the form and selects a category - which filters the repeating tables nomenclature to items in that category. If the nomenclature selected in the form matches the secondary data nomenclature then the Unit or Measure, ID and Cost populates the default value from the secondary data source. Then the customer inputs the qty they would like of that item - at that time the total cost will calculate to cost * qty. I am trying to add a footer that shows the sum of the repeating tables total cost but the formula sum(my:TOTAL_COST) is not working.
  • 01-30-2024 07:24 AM In reply to

    Re: Repeating Table - Calculate Total

    I think you will have to use a filter on your formula for the total cost as well. I've attached a sample for you. Right click the link to the file and select Save As to save locally. Right click the saved file and select Design to open in design mode. Preview the form - I've used default data to ensure there are at least 4 rows when you preview so you can see how the form works.
    Hilary Stoupa

  • 01-31-2024 05:25 AM In reply to

    • LaceM
    • Not Ranked
    • Joined on 01-27-2021
    • Posts 6

    Re: Repeating Table - Calculate Total

    You were right! that was the missing link once the formula was added to the total cost everything worked perfectly. How would I go about subtracting the qty requested in my forms repeating table from the secondary data share point list that the repeating table pulls data from? I have started with two hidden fields (on hand) & (running total) that pulls the qty from the secondary data source into (on hand) then subtracts the qty the customer enters in the repeating table of the form to result in a running total - I then want that running total to take the place of the (on hand) total of the secondary data source. Any help would be greatly appreciated, I'm sure its a simple solution that I am overlooking from working this form for the past 48 hrs.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.