[installation date] - 7 should have worked, depending on how you entered it.
Did you place this in the Control Source of the textbox? Did you put an
equal sign in front of it? It is possible that the value is being treated as
text instead of as a date. Is the textbox that you enter the date into bound
to a field that is defined with a data type of Date/Time? I just tried your
entry to double check and it worked.
Does the control that has the date have the same name as the field it is
bound to? This will sometimes cause a problem when you try to refer to it,
Access doesn't know which to refer to, the control or the field, although it
usually doesn't matter if it would just pick one.
--
Wayne Morgan
MS Access MVP
<If********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I have a (installation) date in a table that I put in manually. It is
the date we want to complete a job. In a form that uses data from that
table I want to add a text box that is bound to the installation date
but I want to subtract 7 days from the installation date. I tried
using [installation date] - 7 but that didn't work.
How can I have a text box display another's cells date - 7 days?
Thanks