Class reference

dynamictiger

Registered User.
Local time
Today, 06:55
Joined
Feb 3, 2002
Messages
270
I did this once before and got it working, but lost the example I had in a harddrive incident.

I am setting up a fairly complex wizard using form, subform model. The forms and subforms are unbound, and I intended to dump the data into a class to process on completion of the wizard.

I am trying to set up the class reference. I seem to recall I used:

Public WithEvents clsWiz as clsChemWiz

But this seems to not be the answer, as it is not responding as I recall.

Anyone got an idea?
 
WithEvents can only be used in a Dim statement within a Class Module.

Code:
Public clsWiz As New clsChemWiz
 
Still giving variable undefined in subform:mad:
 
You have defined this in a standalone module and not the form or subform, haven't you?
 

Users who are viewing this thread

Back
Top Bottom