Solved

Date Problem

Posted on 2002-07-26
3
169 Views
Last Modified: 2013-12-18
Ok.  I have had it with this problem, it is giving me a headache.  I have a button on a form and when it is clicked (it is open as a uidoc at the time) I want it to update the "txtEstCompDate" field with a date that is 5 days ahead. So if that submit day in the 5/10/02, I want the EstCompDate to read 5/15/02.

Thanks in advance.

Dim EstCompDate As String
EstCompDate=Today()
Call uidoc.FieldSetText("txtEstCompDate",EstCompDate+5)
0
Comment
Question by:pucktarget2
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
Arunkumar earned 50 total points
Comment Utility
Try this one !

Call uidoc.FieldSetText("txtEstCompDate", Cstr( Cdat(EstCompDate) +5))

:-)
Arun.
0
 

Author Comment

by:pucktarget2
Comment Utility
That did it!!!

Thanks for the quick help.
0
 
LVL 9

Expert Comment

by:Arunkumar
Comment Utility
No Problem... I thought I had already retired from answering here @EE !

:-)
Arun.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now