Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't reference class module

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
0
0
US
I've created a library of routines (.mda file) and reference that library in my other databases. In the current db I'm working on I want to declare a variable to a class I've created that resides in my library. However, I can't see it (user defined type not defined). I can see other classes I've created in the library, just not that one. Also, when I bring up the Object Browser, it sometimes shows it and sometimes it doesn't.

Any ideas of why I can't see it or reference the class?
 
In the property page for the module try changing the Instancing from Private to PublicNotCreatable.

Hope this helps,
CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top