[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Date Problem

Posted on 2002-07-26
3
Medium Priority
?
178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
Arunkumar earned 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

649 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