What you are saying is not what i am looking .
I want to turn on each record flag with an update query then delete them .
in the picture below , the max month is 8 . i want to delete records for 05,03,... by marking their flag.
this table changes every moth .So i need max month no. and 2 month...