Subtract Month

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi! I have a field in my query called DateRateAssigned. I would like the
next field to be DateRateAssigned minus one month. Right now if
DateRateAssigned is 1/1/2005 and in the next field I put in
"DateRateAssigned-1" I get 12/31/2004 instead of 12/31/2004. How do I
subtract a whole month?
 
Tandy said:
Hi! I have a field in my query called DateRateAssigned. I would
like the next field to be DateRateAssigned minus one month. Right now
if DateRateAssigned is 1/1/2005 and in the next field I put in
"DateRateAssigned-1" I get 12/31/2004 instead of 12/31/2004. How do I
subtract a whole month?

DateAdd("m", -1, [YourDateField])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top