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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dates in MS Access

Status
Not open for further replies.

Jomacot

Technical User
Apr 4, 2005
1
GB
How do I create a date one year on from a manually entered date, i.e. I enter a date in one field but I need another field in the same record to show a date one year on from it.

I can then use the <Now() function in a query to throw up records over one year old.
 
Why not run the query with the following formula:-

Date()-365

Sam

It's just common sense, shame sense isn't common!
 
You may also consider the DateAdd function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Definitely consider using DateAdd...
=DateAdd("y", 1, Nz([YourDateTextBox], Date))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top