PDA

View Full Version : Access 2003 object library has 14.0 rather than 11.0 and is causing issues in my code



wedd
12-19-2011, 08:23 AM
Hi Experts,


I have an access 2003 database that displays compile error: object not defined...I go into the object library but the object library is set to 14.0 rather than 11.0...unfortunately this version of access 2003 I have doesn't provide the option to set the object library to 11.0 and therefore my code seems to have issues rather than running smoothly with a pop up message object not defined. Is there a way I can prevent this from happening? Is it solely to do with the object library references or is it something else causing this issue that is preventing my variables to be defined?
(Object Library it's 11.0 for Access 2003, 10.0 for Access 2002;
9.0 for Access 2000, 8.0 for Access 97 -- ).


Thanks for your contributions:friends:

Aflatoon
12-20-2011, 01:06 AM
In an Access database it should not really be possible to have a reference set to the wrong version of Access. Can you post a screenshot or, preferably, the actual database (you may remove any tables/forms/queries and so on)?

wedd
12-20-2011, 04:44 AM
Hi Aflatoon,


I've enclosed a screen shot of the database reference.

Aflatoon
12-20-2011, 04:55 AM
That screenshot is clearly taken in Access 2010, so it is not altogether surprising.