Hi everyone, I am not sure is this is totally off-sub or not, but if you
know something about COM development please read on.
When I declare a public array in a class module I receive this error
explanation and solution, but I'm having problems implementing the solution:
"[Error] You declared a Public array in an object module. Although a
procedure can't return an array, it can return a Variant that contains an
array. To simulate a Public array in a class module, use a set of Property
procedures that accept and return a Variant containing an array."
I already have the Get and Set propery procedures and the local (private)
array that will contain the data. I fill the private (local) array with the
results of a query but when I try to use it from my aplication I get an
error on the Get saying that it requieres an object.
Any help would be appreciated.
Thanks.
Cesar Mendoza
The NOSPIN Group is now offering Free PC Tech
support at our newest website:
http://freepctech.com
|