Matching records for importing to Access

G

Guest

I have data in Excel where the data in one of the fields is the same as the
primary key in Access. The other field in Excel is new data that needs to be
inserted in Access to match up with the primary key. Is it possible to do
this by importing or do I need to do a data entry function? When I try to
import I get an error that says that the primary key already exists in Access.
 
J

John Nurick

Hi Andy,

Use a linked table to access the Excel data. Then create an update query
that joins the two tables on the common primary key and updates the
Access table with the new data.
 

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

Top