Repeating Table Total columns - InfoPath Dev
in

InfoPath Dev

Repeating Table Total columns

Last post 10-28-2010 11:29 AM by rmintz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-27-2010 06:38 PM

    • rmintz
    • Not Ranked
    • Joined on 10-25-2010
    • Posts 4

    Repeating Table Total columns

    Hi I have a repeating table bound to the return values of a web service. I would like to add a total column to each row. however I cannot add a textbox to the last column of the repeating grid to host the calculation. Do you have any suggestions? Thanks,
  • 10-28-2010 12:50 AM In reply to

    Re: Repeating Table Total columns

    Binding your form to a Web Service or SQL is limiting because of that.

    You could add a calculated value to your form and use functions to calculate but it could be a tricky xpath.

    Patrick Halstead
    Project Manager at Qdabra
  • 10-28-2010 11:29 AM In reply to

    • rmintz
    • Not Ranked
    • Joined on 10-25-2010
    • Posts 4

    Re: Repeating Table Total columns

    Thanks Patick,

     I have managed to make it work by adding a dummy column to the return data, I am then able iterate through all rows and perform the math and set the dummy column value during the changed event. This work perfectly when the form is not host within sharepoint. As soon as it is hosted in Sharepoint the Changed event does not seem to fire, as the code that updates the text box does not run.

    very frustrating.

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