Modify a group of date fields

  • Thread starter Thread starter Dave B.
  • Start date Start date
D

Dave B.

Is there an easy way to advance a bunch of date entries in a column by a
period of months?
 
Use the DateAdd function to return a value however many months after the
current value and update the value to that in an update query, e.g. to update
all dates by 3 months:

UPDATE MyTable
SET MyDate = DateAdd("m",3,MyDate)
WHERE MyDate IS NOT NULL;

Ken Sheridan
Stafford, England
 

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