T
Terrell Miller
got a UDT that I've defined as Public in my mdlGlobals. Also have a
Collection object that I want to populate with a bunch of instances of
the type as I loop through an ADO recordset.
I get an error message, something about "only a Public user-defined type
can be coerced to a Collection object".
Anybody ever seen this one? I can add instances of a Class and it works
fine, but when I try to add the Type object it always gives me the
compile error.
Sorry I don't have code snippets, I'm at home right now instead of at
work. But a friend of mine is getting the same error when he tries
something similar.
TIA,
--
Terrell Miller
(e-mail address removed)
"Every gardener knows nature's random cruelty"
-Paul Simon RE: George Harrison
Collection object that I want to populate with a bunch of instances of
the type as I loop through an ADO recordset.
I get an error message, something about "only a Public user-defined type
can be coerced to a Collection object".
Anybody ever seen this one? I can add instances of a Class and it works
fine, but when I try to add the Type object it always gives me the
compile error.
Sorry I don't have code snippets, I'm at home right now instead of at
work. But a friend of mine is getting the same error when he tries
something similar.
TIA,
--
Terrell Miller
(e-mail address removed)
"Every gardener knows nature's random cruelty"
-Paul Simon RE: George Harrison