Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: add months

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

add months
Geoff 14.07.2006 15:57:02
I am building a form in which i need to add differing timescales to a date,
luckily there are only three timescales to add....4 months, 6 months & 12
months. I will use a drop down list with the 4, 6 & 12 months in it. How can
i add these to the date of the form?

i.e. now date=12/01/06 (add 4 months) next date=12/05/06 ?
Re: add months
"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> 17.07.2006 17:53:18
InfoPath 2007 has built in functionality for date math, but for IP2003 you will need to write code. If you are using managed code like C#, this should be a pretty straight-forward process.

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net