VB/VBA does not support such constructors.
Youi will need to write some property/method in the class which performs
this function, then call it.
NickHK
"J Streger" <(E-Mail Removed)> wrote in message
news:20421249-3EDA-4A18-9B29-(E-Mail Removed)...
> I want to pass a variable into a custom class upon Initialization, so the
> initialization header would look like this:
>
> Private Sub Class_Initialize(rcdEVM as ADODB.Recordset)
>
> But it seems I cannot do this as I need a custom event handler. The MSDN
was
> a bit cryptic on how this was done, so does anyone have experience in this
> matter that can help?
>
> Thank you!
>
> --
> *********************
> J Streger
> MS Office Master 2000 ed.
> MS Project White Belt 2003
>
|