If Me.TransDate(TransDate - 7) And Date And Date And Me.PeriodTypeID = "d" Or "ww" Then
I want to delete records older than a week from TransDate until today. If the date in TransDate is older than 7 days then delete record(s)
My syntax is wrong though?