Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update query expression

Status
Not open for further replies.

bluemat

Technical User
Feb 5, 2002
61
MX
A simple one

I have two fields [Date1] and [Date2]

I want all the records in my database to have the follwing relation

I want that each Date2 record be 2 days more than its corresponding Date one record. Can you hepl me make the right update expression?

Thanks
 
In your update query simply put as your "update" criteria for [Date2]:

[tblMyTable].[Date1] + 2

...that shd do it...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top