Date Calculations - InfoPath Dev
in

InfoPath Dev

Date Calculations

Last post 04-11-2007 07:44 AM by lou131. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-10-2007 11:18 AM

    • lou131
    • Top 100 Contributor
    • Joined on 02-12-2007
    • USA
    • Posts 89

    Date Calculations

    Hi,

    I'm trying to add rules to a date picker field that adds 7 days and displays the new date in another field. This sounds pretty simple and I thought it was but I can't get the rule to work. I also saw some postings that you can't do this in infopath 2003. Maybe someone knows of another way to do it using rules. I'm not a coder so it will be difficult for me to code something. Just wondering if anyone has any thoughts.
    Thanks
    Lou
  • 04-11-2007 12:36 AM In reply to

    Hi Lou

    In InfoPath 2003 we do not have option to add days to a date. We need to write code in On After Change event Handler function. Look at the following link to write code for InfoPath 2003http://blogs.msdn.com/infopath/archive/2005/01/25/360318.aspx

    Where as in InfoPath 2007 we have option to add days to a date. Look at the following link which steps you to How to add days to a date
    http://office.microsoft.com/en-us/infopath/HA100360601033.aspx
    Madhuri
    http://www.ggktech.com
  • 04-11-2007 07:44 AM In reply to

    • lou131
    • Top 100 Contributor
    • Joined on 02-12-2007
    • USA
    • Posts 89
    thank you for the information....
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.