Solved

Date Problem

Posted on 2002-07-26
3
171 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
ID: 7180658
Try this one !

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

:-)
Arun.
0
 

Author Comment

by:pucktarget2
ID: 7180670
That did it!!!

Thanks for the quick help.
0
 
LVL 9

Expert Comment

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

:-)
Arun.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

21 Experts available now in Live!

Get 1:1 Help Now