N
nicknameClair
Hello,
I have two tables; MONTH with fields First_ Date and Last_Date which only
shows one record e.g. 2006-02-01 as First_Date and 2006-02-28 as Last_Date
and the other table is SDETAIL with field Posting_Date
I want to delete all the records in SDETAIL with Posting _Dates between
2006-02-01 and 2006-02-28
I have a sample of a delete query that uses only the First_Date in MONTH but
I'm having problems using the two fields and the between statement.
DELETE SDETAIL.*, SDETAIL.Posting_Date
FROM SDETAIL
WHERE (((SDETAIL.Posting_Date) In (Select Month.[first_date]
from Month where month.first_date = SDETAIL.Posting_Date)));
Thank you, nicknameClair
I have two tables; MONTH with fields First_ Date and Last_Date which only
shows one record e.g. 2006-02-01 as First_Date and 2006-02-28 as Last_Date
and the other table is SDETAIL with field Posting_Date
I want to delete all the records in SDETAIL with Posting _Dates between
2006-02-01 and 2006-02-28
I have a sample of a delete query that uses only the First_Date in MONTH but
I'm having problems using the two fields and the between statement.
DELETE SDETAIL.*, SDETAIL.Posting_Date
FROM SDETAIL
WHERE (((SDETAIL.Posting_Date) In (Select Month.[first_date]
from Month where month.first_date = SDETAIL.Posting_Date)));
Thank you, nicknameClair