Link to home
Start Free TrialLog in
Avatar of Nubasian
Nubasian

asked on

Access Database: Create a formula to calculate a date.

I have a query of two tables (Income table & Project table). This query has 2 date fields & 3 dollar amount fields. Date #1 & Date #2 has information in it. I need to create the Date #3 based on a formula of Date #2 plus 60 days. Once the 3rd date is calculated, that information needs to go into it's own field.  This is a 2 part question: 1) What is the formula to calculate Date #3 and 2) How do I input Date #3 into a separate field. Please give me detailed instructions. I'm a beg-int Access user.
Avatar of Lucas
Lucas
Flag of Canada image

Create a new query in access, select the table you want to use, select the fields you want to display.  

In an empty column type this in:

Date3: DateAdd("d", 60, [date2field])

That takes care of your question 1 and 2 ;-)
Avatar of Nubasian
Nubasian

ASKER

Thank you lucas911. I asked the 2nd question incorrectly. I actually want the calculated Date3 inserted into a field that exists in the Income table.  
ASKER CERTIFIED SOLUTION
Avatar of Lucas
Lucas
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial