Re: Different version Access
- From: "accessuser via AccessMonster.com" <u28669@uwe>
- Date: Wed, 13 Dec 2006 23:19:04 GMT
Your link helped me to get rid of that "Can't find project or library"
message yesterday; it was very helpful. Thank you so much!!!!
Let me recap your message to make sure I got it right. As for the
"decompile" process, is the command prompt the same as the "Start, Run" and
copy the code you gave me? And when I change to work on a different computer
at work, i notice there is always on reference missing, control 1.0 something
like that, so i have to Shift Open the file run the Module, and uncheck the
missing reference. Do I have to go to all users desktop to make sure I
uncheck them so it wiill run correctly? Is there a way I can put a error msg
box instead having the access showing my users with VBA code page.
By the way, what are those projects or libraries for?
Thank you so much! I couldn't have gone this far without all the helps I
received from this site.
Allen Browne wrote:
There is no software that can automatically handle the differences between
references on different computers.
There are many thousands of libraries. If one is not present, the software
cannot know how to simulate that library. It cannot even handle different
versions of the same library.
The solution, therefore is to limit the libraries you use. The Access and
VBA libraries are required. Access will automatically select the correct
Access library when you switch versions, so you don't need to worry about
that. You probably want the DAO 3.6 Library also, but it is also standard
across Access 2000, 2002, and 2003, so there is no problem with that either.
If you want any others beyond those 3, it is your responsibility to ensure
that the correct version of the correct library is correctly registered on
each computer where you will use your software.
More info on libraries for each version of Access:
http://allenbrowne.com/ser-38.html
Aside from the library references, there are some other issues that arise as
you change versions. An MDB contains 2 versions of your code:
- the compiled version (what executes);
- the text version (what you view and edit.)
The compiled binary is different with every version of Access. So, when you
edit an MDB using different versions, Access is supposed to re-generate the
binary for the current version from the text. That process is flawed, and
you tend to get weird errors that make no sense and can be inconsistent. The
solution is to explicitly decompile the database whenever you switch to
developing on a different version.
To decompile, make a copy of the database, and enter something like this at
the command prompt while Access is not running. It is all one line, and
include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"
I have a database and experiencing some version reference problem. I[quoted text clipped - 10 lines]
created
before,
so please help me to explain it in a simple language if possible.
--
Message posted via http://www.accessmonster.com
.
- Follow-Ups:
- Re: Different version Access
- From: Allen Browne
- Re: Different version Access
- References:
- Different version Access
- From: accessuser
- Re: Different version Access
- From: Allen Browne
- Different version Access
- Prev by Date: Re: Building a Global defaults table
- Next by Date: Re: Different version Access
- Previous by thread: Re: Different version Access
- Next by thread: Re: Different version Access
- Index(es):
Relevant Pages
|