?
Solved

Date Problem

Posted on 2002-07-26
3
Medium Priority
?
177 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

770 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