Drew Wutka
DWUTKA at marlow.com
Tue Apr 8 14:09:42 CDT 2003
If I read your post right, you need to declare the subform on the main form with the 'withevents' statement, not the other way around. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, April 08, 2003 1:21 PM To: AccessD at databaseadvisors.com Subject: [AccessD] RaiseEvent from subform to Parent I'm trying to raise a custom event from an XP subform to its parent form without any luck. The event is declared public in the subform, is being raised with the appropriate argument, and the parent form declared and instantiated an object WithEvents, but the equivalent event procedure in the parent form never fires. Is this something that just can't be done or have I missed a step somewhere? JC? Charlotte Foust _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com