Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2006

Tip: Looking for answers? Try searching our database.

Entering durations in Infopath for Calculations

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paulinlondon - 10 Nov 2006 15:06 GMT
Hi, pleease help! Been tasked with creating a form whereby I need to enter
durations in hours, minutes and seconds and use the information to do some
further calculations in Infopath automatically, ie, totals, averages, etc!
I've managed to do all that with 'normal' numbers, but I've not been able to
format them into durations, such as 01:23:42 (1 hour, 23 minutes, 42
seconds). Any ideas anyone? Thanks in advance for any replies!
S.Y.M. Wong-A-Ton - 12 Nov 2006 02:49 GMT
Have you already looked into using the concat() function in a formula?
---
S.Y.M. Wong-A-Ton

> Hi, pleease help! Been tasked with creating a form whereby I need to enter
> durations in hours, minutes and seconds and use the information to do some
> further calculations in Infopath automatically, ie, totals, averages, etc!
> I've managed to do all that with 'normal' numbers, but I've not been able to
> format them into durations, such as 01:23:42 (1 hour, 23 minutes, 42
> seconds). Any ideas anyone? Thanks in advance for any replies!
paulinlondon - 13 Nov 2006 10:16 GMT
I'm rather new to Infopath. What is the concat () funtion and how would I do
it?!

Thank you

Paul

> Have you already looked into using the concat() function in a formula?
> ---
[quoted text clipped - 6 lines]
> > format them into durations, such as 01:23:42 (1 hour, 23 minutes, 42
> > seconds). Any ideas anyone? Thanks in advance for any replies!
S.Y.M. Wong-A-Ton - 13 Nov 2006 23:52 GMT
The concat() function can be used in a formula to concatenate strings. Take a
look at this article:
http://enterprise-solutions.swits.net/infopath2003/article.php?t=auto-format-tim
e-on-lostfocus&c=infopath2003


To create a string like "01:23:42" you could use
concat("01",":","23",":","42") in a formula. Search the InfoPath Help to get
more information on what the concat() function and other functions can do for
you.
---
S.Y.M. Wong-A-Ton

> I'm rather new to Infopath. What is the concat () funtion and how would I do
> it?!
[quoted text clipped - 13 lines]
> > > format them into durations, such as 01:23:42 (1 hour, 23 minutes, 42
> > > seconds). Any ideas anyone? Thanks in advance for any replies!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.