Working with dates - InfoPath Dev
in

InfoPath Dev

Working with dates

Last post 11-23-2013 10:53 AM by djcruerockz. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-15-2008 09:23 AM

    Working with dates

     Hello everyone,

    I'm a DBA completely new to InfoPath and I'm trying to develop a form that will be posted on our sharepoint site so our managers can click on a few check boxes and submit the form that will enter some values on a database.

    I got this functionality in place and there are a few minor things that I'm missing at this point and one of them is the date, I need to have a frase that will look like this on the form:

    We would greatly appreciate if you could submit your response by GETDATE()+7

    The managers have to respond within 7 days from when they receive a notification that contains a link to the form and I want that one the form. Would anyone know how to do this?

     

    Thanks in advance for the help,

    -Igor Santos

  • 10-15-2008 10:45 AM In reply to

    Hello, and welcome!

    IP2003 doesn't have any built in functions for adding dates -- I think code may be the only option there. For IP2007, you could add an expression box with the following formula:

    concat("We would greatly appreciate your response by ", xdDate:AddDays(xdDate:Today(), 7))

    Hilary Stoupa

  • 11-23-2013 10:53 AM In reply to

    Hi, Any idea how can we use code for IP2003. Do we have any basic codes available. I have a requirement where I need current time to be displayed Thanks
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.