trevorC via AccessMonster.com said:
HI All, My application currently uses a lib reference to the microsoft excel
11,0 object library, the db is on a server and has about 30 people hooked
into it. On one pc the OS is win XP and the lib file is microsoft excel 12,0
object library. When this person runs the db they gat the error message -
object lib not found. I can manualy go and change this as the microsoft excel
11,0 object library is also in the list but the default is 12.0 not 11.0 for
this pc. Do i need to download 11.0 and put it on the pc or is there a better
way ?.
1) Yes, you should split the MDB into a Front End MDB containing the
queries, forms, reports, macros and modules with just the tables and
relationships in the Back End MDB. The FE is copied to each network
users computer. The FE MDB is linked to the tables in the back end
MDB which resides on a server. You make updates to the FE MDB and
distribute them to the users, likely as an MDE.
See the "Splitting your app into a front end and back end Tips" page
at
http://www.granite.ab.ca/access/splitapp/ for more info. See the
Auto FE Updater downloads page
http://www.granite.ab.ca/access/autofe.htm to make this relatively
painless.. The utility also supports Terminal Server/Citrix quite
nicely.
2) Late binding means you can safely remove the reference and only
have an error when the app executes lines of code in question. Rather
than erroring out while starting up the app and not allowing the users
in the app at all. Or when hitting a mid, left or trim function call.
This also is very useful when you don't know version of the external
application will reside on the target system. Or if your organization
is in the middle of moving from one version to another.
For more information including additional text and some detailed links
see the "Late Binding in Microsoft Access" page at
http://www.granite.ab.ca/access/latebinding.htm
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog -
http://msmvps.com/blogs/access/