ACC97: Remove method for Reference Object 
Author Message
 ACC97: Remove method for Reference Object

I am running a class module in an ACC97 form:  
The following line inside a form's click event causes a run-time error (
reftemp points to a valid reference):

Application.Reference.Remove refTemp

The valid reference is another ACC97 database that was made into a .mde
Does anyone know why this causes a runtime error?  
Is it due to the fact that it is in a form class module and not a std. module,
or could it have something to do with the reference being to a .mde?

If reftemp points to the .mdb the code executes without error.

ps: the runtime error is a verbose event error

Tue, 04 Sep 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Remove reference to MSP 10.0 Object Library

2. Removing object references from VBScript control?

3. How To: Remove an object reference from a script control

4. object, method and function reference for VBA

5. Object/method reference?

6. Passing an object reference by reference where the object has a default property

7. Removing ActiveX exe references from project->references

8. removing a reference item from the project references option

9. referencing the methods and properties of objects in a collection

10. Remove Interface Methods from class methods

11. ACC97 - Correct Delimiting Character Reference?

12. ACC97 Outlook VBA reference material


Powered by phpBB® Forum Software