
Pass Class reference of unkown class
Quote:
> But what if the receiving class could receive one of several different class
> modules into the same variable such as the module behind several different
> forms (one at a time of course). Is this possible with out declaring
> exactly what class is expected? If I were working with standard modules, I
> could do something like:
What you're looking for is interface inheritance, sounds like to me. And
that's not available in this version of Access. It is in VB5 and VB6,
and will be in Office 2000 (using the Implements keyword).
For now, the best you can do is declare your variable As Object, and then
work with it that way. -- Ken