How do I perform date calculations in InfoPath

J

Jamie Durrant

I'd also *love* a working example of this, it's something that I and others
have been looking for months. Odd, that everytime a question is brought up
about date calculations, the same answer is that it's already been done. But
there is not a single working example anywhere.

SStruessel said:
I had tried that with no success. I found another post showing an example in
VBS to display an alert if the date was < 3 days. How can I post that
information back to a form field in InfoPath? I am interested in capturing
the duration in days from "date 1" and "date 2" and display that in a field
called "duration". The previous I am referring to is:
http://www.microsoft.com/office/com...1a25&catlist=&dglist=&ptlist=&exp=&sloc=en-us

Thanks for you help!!!

Alex said:
The most likely reason for this is that HTML formatting is getting
copied when you copy-paste from the web page. I recommend copying the
sample code from the page to Notepad (to remove HTML formatting), and
only then to InfoPath.

Good luck,
Alex @ Microsoft

-----Original Message-----
From: sstruessel [mailto:[email protected]]
Posted At: Thursday, May 26, 2005 11:42 AM
Posted To: microsoft.public.infopath
Conversation: How do I perform date calculations in InfoPath
Subject: How do I perform date calculations in InfoPath

I read the blog "Date Calculations in InfoPath" at
http://blogs.msdn.com/infopath/archive/2005/01/25/360318.aspx, but the
sample
bombs out with a generic "Expected ';'" error. Has anyone out there
cracked
this nut? A working sample would be really nice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top