Simple (?) question: how can I determine the used DAO version in VBA code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By checking the version of the referenced library.
EDIT:
If you need to do it in VBA then check resource close to http://www.mvps.org/access/modules/mdl0022.htm (or customize that directly depending on what you need to do)
EDIT2:
Few more good resources
http://www.mvps.org/access/api/api0065.htm
http://www.accessmvp.com/djsteele/AccessReferenceErrors.html
http://www.trigeminal.com/usenet/usenet026.asp
Ultimately if you really want to do thing properly (according to MS) you should be moving away from DAO to ADO.
EDIT3:
You can try to follow http://support.microsoft.com/kb/240377 to see which files are relevant.