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 / June 2005

Tip: Looking for answers? Try searching our database.

Date calculation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ruky Obahor - 28 Jun 2005 11:20 GMT
Hi  I have two date fields (startdate and an enddate) and a NoOfdays text box
on my infopath form.

I want the user to select a startdate and an enddate and then the number of
days will be automtically filled in in the NoOfdays text box. Also if there
is a saturday and sunday is included in the startdate an enddate. this should
be automtically deducted from the no of days.

Can any one help me pls.
Scott Roberts [MSFT] - 28 Jun 2005 16:40 GMT
Hello,

InfoPath doesn't natively support date calculations.  However, you can do
the calculations in code and then set the field's value to the result.  This
blog entry should help you with performing date calculations in InfoPath:
https://blogs.msdn.com/infopath/archive/2005/01/25/360318.aspx

- Scott

> Hi  I have two date fields (startdate and an enddate) and a NoOfdays text
> box
[quoted text clipped - 9 lines]
>
> Can any one help me pls.
 
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.