[AccessD] class module question

Michael R Mattys michael.mattys at adelphia.net
Fri Dec 19 13:53:52 CST 2003


Class_Initialize and Class_Terminate are default events
for all classes and will automatically fire.

You can, if needed, call Class_Terminate - for instance,
if a specific condition is not met or in case of error.


Michael R. Mattys
Try MattysMapLib for MapPoint at

----- Original Message -----
From: "Joe Rojas" <JRojas at tnco-inc.com>
To: "'Access Developers discussion and problem solving'"
<accessd at databaseadvisors.com>
Sent: Friday, December 19, 2003 1:12 PM
Subject: [AccessD] class module question

> Hi All,
> I am reading the wonderful chapter on WithEvents and RaiseEvent taken from
> the 'Beginning Access 2002 VBA' book that is written by John Colby that
> linked to sometime ago.
> When I was reading it I came across the Sub called 'Class_Terminate()' in
> one of his examples. Because I don't have the other chapters, I can't tell
> if this Sub gets automatically called when a class is destroyed or if it
> needs to be called before it is destroyed.
> Anyone know?
> Thanks,
> JR
> This electronic transmission is strictly confidential to TNCO, Inc. and
> intended solely for the addressee. It may contain information which is
> covered by legal, professional, or other privileges. If you are not the
> intended addressee, or someone authorized by the intended addressee to
> receive transmissions on behalf of the addressee, you must not retain,
> disclose in any form, copy, or take any action in reliance on this
> transmission. If you have received this transmission in error, please
> the sender as soon as possible and destroy this message. While TNCO, Inc.
> uses virus protection, the recipient should check this email and any
> attachments for the presence of viruses. TNCO, Inc. accepts no liability
> any damage caused by any virus transmitted by this email.
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com

More information about the AccessD mailing list