Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Calculation within a form 1

Status
Not open for further replies.

simonjackson79

Technical User
Dec 23, 2003
31
GB
Hi,

I am in the middle of designing a statistical reporting form with queries and reports that are based on dates entered within the form. I have virtually finished but I have one remaining problem and need some assistance.

I need to make a text box automatically calculate a date that is ten years earlier than another date entered within the form. Is there any way to do this?

Any help would be much appreciated.

Si
 
Set the control source to:
= dateadd("yyyy",-10,myothertextbox)

 
That's great, I can get this whole project finished today now. Have a star 'cos you are one!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top