Hi haj1503,
You can try this attached file it was written by Glen Kruger and some other people at Utter Access forum. I made some modifications to some parts of the code. This is just a simple way of making a database expire after 30 days and calling for registration code which you will supply...