G
geebee
hi,
I have the following:
DELETE *
FROM tbl_masterpop_main
WHERE [loan acct #] in
(SELECT DISTINCT Tbl_archive.[Loan Acct #], Tbl_archive.pasted,
Tbl_archive.PopEnterDt FROM Tbl_archive WHERE (((Tbl_archive.pasted) In
('CHARGEOFF','PAIDOFF','CURRENT AMD/DEFR','CURRENT PAID','CURRENT
BKAMD/DEF','REPO','BK')) AND ((Tbl_archive.PopEnterDt)=Date())));
i want to be able to delete records from tbl_masterpop_main those records
which have a [loan acct #] that exist in tbl_archive with today's date. i
accidentally erased all records from tbl_masterpop_main, so I really need to
know how to amend this query so that the correct records are deleted.
thanks in advance,
geebee
I have the following:
DELETE *
FROM tbl_masterpop_main
WHERE [loan acct #] in
(SELECT DISTINCT Tbl_archive.[Loan Acct #], Tbl_archive.pasted,
Tbl_archive.PopEnterDt FROM Tbl_archive WHERE (((Tbl_archive.pasted) In
('CHARGEOFF','PAIDOFF','CURRENT AMD/DEFR','CURRENT PAID','CURRENT
BKAMD/DEF','REPO','BK')) AND ((Tbl_archive.PopEnterDt)=Date())));
i want to be able to delete records from tbl_masterpop_main those records
which have a [loan acct #] that exist in tbl_archive with today's date. i
accidentally erased all records from tbl_masterpop_main, so I really need to
know how to amend this query so that the correct records are deleted.
thanks in advance,
geebee