MS Access raise form events programmatically
Posted
by Eric G
on Stack Overflow
See other posts from Stack Overflow
or by Eric G
Published on 2010-05-10T17:09:40Z
Indexed on
2010/05/10
17:14 UTC
Read the original article
Hit count: 190
Is it possible to raise built-in MS Access form events programmatically? I have a feeling it isn't but thought I would check. (I am using Access 2003).
For instance, I want to do something like this within a private sub on the form:
RaiseEvent Delete(Cancel)
and have it trigger the Access.Form delete event -- i.e. without actually deleting a bound record.
Note my delete event is not handled by the form itself but by an external class, so I can't simply call Form_Delete(Cancel).
© Stack Overflow or respective owner