Repeating tables and formula issues - InfoPath Dev
in

InfoPath Dev

Repeating tables and formula issues

Last post 07-22-2015 05:03 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-20-2015 07:47 AM

    • amgue
    • Not Ranked
    • Joined on 07-20-2015
    • Posts 1

    Repeating tables and formula issues

     Hi all,

     I'm currently using a form for a health challenge type event at work. I have created a step calculator where people choose an activity (pulled from a SharePoint list) and then the number of minutes that they did the activity, and it calculates their steps for them. The problem is that it's in a repeating table (I also tried a repeating section) and when they insert a new line and choose another type of activity, the steps take in the first line change as well.

     Is there any way that I can make the Steps Taken formula apply to each row independently?  

    This is the formula I'm using > Time * Steps_x0020_per_x0020_minute_x00[Title = Activity]

    The SharePoint list has the Activity and a corresponding # of steps per minute.

     Thanks in advance! 

     

    *Update: It seems to choose the activity that is alphabetically closest to A and uses those steps per minute across the board.

      

  • 07-22-2015 05:03 PM In reply to

    Re: Repeating tables and formula issues

     You'll probably need to use current() in there. :) What is the full XPath of your formula? In the formula editor you can select "Edit XPath" and then just paste the result.

    Hilary Stoupa

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