Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

Late binding

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SHIPP - 29 Mar 2005 20:15 GMT
Access 97. I have created a database that creates 78 sub self contained
databases that are sent to managers around the world. The problem is this I
get an error on the following line of code in the new databases.

 Dim cbrCommandBar        As CommandBar

I know that the reason for this is that the references have to be reset in
each of the sub databases and then the all run fine. Is there either:

1. A way through VB to automatically set the references or
2. I've heard about late binding but don't know much about it.

How would one set late binding for the above issue so that references are
not necessary? Any help is greatly appreciated.
Signature

M. Shipp

ChrisJ - 30 Mar 2005 01:31 GMT
I don't know if you can add references to one database from another. If it
turns out not to be possible, a work-around would be to instead of creating
each sub database from nothing, have a "pre-referenced" database as a
template which can be copied, renamed and populated as required

Chris

> Access 97. I have created a database that creates 78 sub self contained
> databases that are sent to managers around the world. The problem is this I
[quoted text clipped - 10 lines]
> How would one set late binding for the above issue so that references are
> not necessary? Any help is greatly appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.