H
hughess7
Hi all
Each month I have to import customer data to a database. The table is keyed
on NEClaimNo and does not allow duplicates.
I have two tables, [tbl Warranty Data] which contains ALL past claims and
[Warranty Data] which holds the current month of claims to import.
The problem I have is that the customer issues credits and when this happens
I need to remove the original claim from [tbl Warranty Data] and not import
the credit from [Warranty Data].
I have queries to find the duplicates but I then delete the records manually
as there is usually just a few. This month there are 127 dups! Too many for
me to do manually and I can not delete them using the query as I get an error
'can not delete from specified table'. I assume it is because the query finds
the two dups from a match between two tables.
Can anyone tell me an easy way round this? Hope it is clear from the above
what I am trying to do... just ask if not...
Thanks in advance for any help.
Sue
Each month I have to import customer data to a database. The table is keyed
on NEClaimNo and does not allow duplicates.
I have two tables, [tbl Warranty Data] which contains ALL past claims and
[Warranty Data] which holds the current month of claims to import.
The problem I have is that the customer issues credits and when this happens
I need to remove the original claim from [tbl Warranty Data] and not import
the credit from [Warranty Data].
I have queries to find the duplicates but I then delete the records manually
as there is usually just a few. This month there are 127 dups! Too many for
me to do manually and I can not delete them using the query as I get an error
'can not delete from specified table'. I assume it is because the query finds
the two dups from a match between two tables.
Can anyone tell me an easy way round this? Hope it is clear from the above
what I am trying to do... just ask if not...
Thanks in advance for any help.
Sue