K
Kirk P.
I trying to prevent appending any records from my temp table into my perm
table that have the same run date. I thought this would do it, but no luck
INSERT INTO RunDate, Customer, City, State
SELECT RunDate, Customer, City, State
FROM tblTemp
WHERE tblTemp.RunDate<>[tblPerm]![RunDate];
I know identifying a primary key in my Perm table would prevent duplicates,
but in this case getting a primary key is impossible and the best I can do is
prevent the user from appending records that have been "run" on the same date
twice.
table that have the same run date. I thought this would do it, but no luck
INSERT INTO RunDate, Customer, City, State
SELECT RunDate, Customer, City, State
FROM tblTemp
WHERE tblTemp.RunDate<>[tblPerm]![RunDate];
I know identifying a primary key in my Perm table would prevent duplicates,
but in this case getting a primary key is impossible and the best I can do is
prevent the user from appending records that have been "run" on the same date
twice.