?
Solved

How to Copy Reference's?

Posted on 1998-03-05
2
Medium Priority
?
186 Views
Last Modified: 2012-05-04
Greetings,
I have a module that copies a 13.5 meg Access Fornt-end which has a MS SQL backend. This module breaks the links and saves the table info, along with the modules, forms, queries, etc into a standalone .mdb. All of the objects are copied.
My problem is I have an application that needs a refrenece to OLE and Word 8.0 objects and some ActiveX controls and the references aren't copied over.  

If it's not possible to copy the references any other ideas would be appreciated. I just don't want to have to add the reference manually each day.

Thanks,
Brad Hummel
0
Comment
Question by:bhummel
2 Comments
 
LVL 2

Accepted Solution

by:
BigJ earned 100 total points
ID: 1970127
Make sure whatever you copy is compiled, then it should take the references with it. We find the only time references do not get copied from one machine to another is when the contents of the database or module are not compiled.
0
 

Author Comment

by:bhummel
ID: 1970128
Each module is compiled and so is each sub that uses the Word 8.0 Objects. I physically went into each module and compiled them. I think that was overkill but i wanted to be sure. Any other ideas?

Thanks,
Brad
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question