Adding time column in repeating table - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Adding time column in repeating table

Last post 06-25-2012 06:06 PM by Hala777. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-25-2012 01:01 PM

    Adding time column in repeating table

    Hi everyone,

    I'm trying to add up a column in a repeating table which contains time values. I'm currently using the following formula, however, it will only utilize the first row of the table in determining the value.

     concat(substring(100 + number(concat("0", substring(aircraftFlightLogIncomingFlightTime, 1, 2))) + number(concat("0", substring(flightLogFlightTime, 1, 2))), 2, 2), ":", substring(100 + number(concat("0", substring(aircraftFlightLogIncomingFlightTime, 4, 2))) + number(concat("0", substring(flightLogFlightTime, 4, 2))), 2, 2), ":", substring(100 + number(concat("0", substring(aircraftFlightLogIncomingFlightTime, 7, 2))) + number(concat("0", substring(flightLogFlightTime, 7, 2))), 2, 2))

    aircraftFlightLogIncomingFlightTime = a standalone field
    flightLogFlightTime = time field in the repeating table

    Thanks!

     

  • 06-25-2012 06:06 PM In reply to

    • Hala777
    • Not Ranked
      Female
    • Joined on 05-31-2012
    • Switzerland
    • Posts 21

    Re: Adding time column in repeating table

    I didn't really understand your question, but if I'm getting you right, this rule calculate the time and sets the value to a column in the repeating table, and it just do it for the first row of it, am I seeing it right?

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