S
SinCity
Here is my code...
INSERT INTO Leads ( BLastName, BFirstName, Address, City, Zip, WeddingDate,
HomePhone, email )
SELECT [73106].BLastName2 AS BLastName, [73106].BFirstName2 AS BFirstName,
[73106].Address AS Address, [73106].City AS City, [73106].Zip AS Zip,
[73106].WeddingDate AS WeddingDate, [73106].HomePhone AS HomePhone,
[73106].email AS email
FROM 73106;
I have it set up as an Append Query. When I run it, it appends my Leads
database including duplicates.
How can I change it to be "run this code only if you dont find duplicates in
the email field"?
Do I need to implement some type of IF/THEN code?
Thanks!!
INSERT INTO Leads ( BLastName, BFirstName, Address, City, Zip, WeddingDate,
HomePhone, email )
SELECT [73106].BLastName2 AS BLastName, [73106].BFirstName2 AS BFirstName,
[73106].Address AS Address, [73106].City AS City, [73106].Zip AS Zip,
[73106].WeddingDate AS WeddingDate, [73106].HomePhone AS HomePhone,
[73106].email AS email
FROM 73106;
I have it set up as an Append Query. When I run it, it appends my Leads
database including duplicates.
How can I change it to be "run this code only if you dont find duplicates in
the email field"?
Do I need to implement some type of IF/THEN code?
Thanks!!