How to merge two tables in Access 2000?
I have two tables from a customer. Table A and Table B have same # of rows and same # of columns (each columns having same data type and same name). The customer wants to update Table A records to match Table B records. Is there a way to do that?
Try this website, it might help you.
November 30th, 2009 at 2:02 am
This is assuming that there is a Primary Key column in each table that has a unique ID for each row that you can match on:
Open a query window, open up the SQL pane, then use this:
UPDATE TableA
SET TableA.FirstName = TableB.FirstName,
TableA.LastName = TableB.LastName,
TableA.PhoneNumber = TableB.Phone Number
FROM TableA.PrimaryKeyColumn INNER JOIN TableB.PrimaryKeyColumn
References :
November 30th, 2009 at 2:38 am
Try this website, it might help you.
References :
http://www.bcschools.net/staff/AccessHelp.htm