sum time - InfoPath Dev
in

InfoPath Dev

sum time

Last post 07-11-2005 06:19 PM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-11-2005 02:19 AM

    sum time

    Hi all,
    I have some textboxes containing time type text in the format "hh:mm". How can I have another textbox wich is set to the sum of all others textboxes?The operator "+" becouse it's for numbers.

    Thank u!
  • 07-11-2005 06:19 PM In reply to

    Hi Tatopitta,
    First of all, why are these time fields text types? They should be time types, no? To sum time, do you want to have the same format? Hours:Min? If so, it will require some business logic (code) since there is no default function for summing times. It should be easy to add this though. Just add an OnAfterChange handler that updates the total time based on the others. Probably less than 10 lines of code.

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.