Update Table (1 Viewer)

mark curtis

Registered User.
Local time
Today, 06:40
Joined
Oct 9, 2000
Messages
457
I have a linked table that holds Change Controls call tblCC.

What I want to do is refresh the linked table and then copy all the data in tblCC into tblServices and overwrite any duplicate records thus only adding new ones.

My thoughts were to run a delete query to remove all the Change Controls from tblServices as I have a unique field to use as criteria but when I use an append query after that I get key violation problems.

What I would like is advice on which method is best or the SQL code that will add the records from tblCC to tblServices.

Thanks
Mark
 

mark curtis

Registered User.
Local time
Today, 06:40
Joined
Oct 9, 2000
Messages
457
Thanks as usual Pat.
 

Users who are viewing this thread

Top Bottom