Boddington6
New member
- Local time
- Today, 20:22
- Joined
- Apr 8, 2009
- Messages
- 4
I'm having trouble trying to sort out a validation rule for a database.
I want students who have passed after two years to be deleted off the database and to do this I'm running a delete query, however I can't seem to get the validation rule right which will delete them off through the query. I thought perhaps there was a way to use <Date() (meaning todays date) and then 2 years before it so that the query would automatically find dates that were before two years from todays date, not just the year? This would really help the database so that I don't have to create a new query at the end of each year.
Any help would be much appreicated.
Thank you.
I want students who have passed after two years to be deleted off the database and to do this I'm running a delete query, however I can't seem to get the validation rule right which will delete them off through the query. I thought perhaps there was a way to use <Date() (meaning todays date) and then 2 years before it so that the query would automatically find dates that were before two years from todays date, not just the year? This would really help the database so that I don't have to create a new query at the end of each year.
Any help would be much appreicated.
Thank you.