I am trying to do a calculation in a query, but I am not getting exactly what I want. I am definitely missing something, and I have been searching with no luck. This is what I have now, but I only want to show what can be destroyed.
Code: Select all
Destruction: IIf([Retention Expiry Date]<Date(),"Destroy","Do Not Destroy")
Code: Select all
Destruction: [Retention Expiry Date]<Date()
If the “Retention Expiry Date” is less than the current date, show the “Retention Expiry Date,” and do not show any records that are not expired.
I hope this makes sense.
Thank you in advance for your assistance in this matter; it is greatly appreciated.
Regards,
Lisa