Update a Table from another Table without duplicates 
Author Message
 Update a Table from another Table without duplicates

If isnull(dlookup("YourCusomer","YourCustomerTable")) then add your record.


Quote:
> I want to update a customer table from another table (sent
> to me from an external source) but if the customer
> information is already in the customer table I don't want
> to update the customer table and create duplicate records.

> I've tried everything and I'm pulling out my hair.  I
> appreciate any help!





Sat, 14 May 2005 07:32:36 GMT  
 Update a Table from another Table without duplicates


Quote:
>I want to update a customer table from another table (sent
>to me from an external source) but if the customer
>information is already in the customer table I don't want
>to update the customer table and create duplicate records.

>I've tried everything and I'm pulling out my hair.  I
>appreciate any help!

More information please. How can you tell whether a record is a
duplicate or not? Do you have a unique ID (good) or are you relying on
names and addresses being spelled identically in two independent sets
of data (VERY risky)? Are you trying to update existing records, or
just append new records? Are the two tables in the same format?

                  John W. Vinson[MVP]    
    Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public



Sat, 14 May 2005 08:50:06 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing the linked table path without the linked table manager

2. VB Posts changes to Table even without an Update

3. update table field from xref table

4. !how VB update Table A INNER JOIN Table B, Set A.co=B.ID

5. how VB update Table A INNER JOIN Table B, Set A.co=B.ID

6. deleting tables and updating table name

7. use make table to update another table

8. Comparing two tables and then updating one table.

9. how VB update Table A INNER JOIN Table B, Set A.co=B.ID

10. how VB update Table A INNER JOIN Table B, Set A.co=B.ID

11. how VB update Table A INNER JOIN Table B, Set A.co=B.ID

12. updating fields in table from field in another table

 

 
Powered by phpBB® Forum Software