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!

Adding Days to a Date Field

Status
Not open for further replies.

Seahawk0966

Technical User
Jan 2, 2004
7
US
I have a Field called Purchase..

What I need to do is automatically have a Field called Extended that is "Purchase + 180 days"..

I am totally new to Access 2003 and really need some help
 
Hi

Basically

DateAdd("d",180,Purchase)

Do not add another field to the table, instead, make a query based on your table, with a calculated column it will look like so in the query grid

Due:DateAdd("d",180,[Purchase])

See DateAdd() function in help for more information

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
That works great... thanks for the speedy response...

But what if they want to see it in their form also...

I think the query part will work for some of them but I just want to have my ducks in a row if they ask for it in the form...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top