Access ASPUsing ASP with Microsoft Access databases. For Access questions not specific to ASP, please use the Access forum. For more ASP forums, please see the ASP forum category.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have an access database and i'm programming asp pages to select records given some criteria. One of them is the age of someone.
In my database fields i have the date of birth. How can i accomplish that?
Another thing that i have noticed is that after finished my asp application i still have my access database locked (ldb file exists). How can i correct this? This is because the web server is still running?
Use DateDiff to get the age. eg: DateDiff('yyyy', BirthDate, Now())
Also - are you clearing out your connections and recordsets?
eg: Rs.Close
Set Rs = Nothing
I am a loud man with a very large hat. This means I am in charge