automatically delete when older than 3 years

emanuele

the old good fellow Bill
Local time
Today, 17:53
Joined
Jan 23, 2003
Messages
23
in a db I would like records from a tbl to be automatically deleted when they are older than 3 years.
my records are stored by "Year((date))" #9999#
any ideas? Thanks
 
How about...a Delete Query!

If you want it three years from the current date, you can set the criteria to be:

<DateAdd("yyyy", -3, Date())
 
one more inch?

Hi Phile,
thanks for your reply. I just need one more little advice:

How do I make a Delete Query?

Sorry for being such a beginner

:confused:
 
Build the query as normal and then, in one of the menus there is the option to specify the type of query i.e. Delete, Append, MakeTable, etc.

Just select Delete query.
 
Grazie. (means thank you in italian)
 

Users who are viewing this thread

Back
Top Bottom