Put it in the Field row of an empty column in the grid.
If all you do is type that expression (DateAdd("yyyy", 3,
[NameOfDateField])) into the cell, Access will assign it a field name along
the lines of Expr1. To give it a meaningful name, put the name (followed by
a colon) in front of that expression:
FutureDate: DateAdd("yyyy", 3, [NameOfDateField])
--
Doug Steele, Microsoft Access MVP
(no private e-mails, please)
pompeyboyUSA said:
Thanks Doug,
where abouts would that function go in the query?
Charlie
Douglas J. Steele said:
It can be done, but it shouldn't be.
Instead, create a query, and put a calculated field in that query that
does
the calculation. Use the DateAdd function:
DateAdd("yyyy", 3, [NameOfDateField])
--
Doug Steele, Microsoft Access MVP
(no private e-mails, please)
Is it possible to enter a date in one field and have it auto calculated
3
years in the future and added into a different field?
Thank you
Charlie