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!

Trying to create an update query need help

Status
Not open for further replies.

Buddha1

Technical User
Feb 5, 2004
32
US
I am trying to create an update query that will update Tbl B info with a field from Tbl A. Example:
Tbl A contains the following fields: Site Batch# Date
Tbl B contains the following fields: Site Date Batch Acct#
I want to update the batch field in Tbl B with the batch number in Table A. I want the field to update only those fields whose date and site match in both tables. Can someone help me with this?
 
Join A to B on Date and Site. Then put [TableA.Batch] as the update criterion for TableB.Batch. The QBE Screen will build the SQL for you.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top