return of name of a procedure running

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way to return the full name of the procedure while executed?

E. g. the OnClick event procedure of the Command Button "SF1S1" (in a Form
called "Menu Artikel") is named "Sub SF1S1_Click()".

If I use "MsgBox Me.Module.Name" I receive the answer "Form_Menu Artikel"
which is not what I want.

What Command will return the true name "Sub SF1S1_Click()"

I hope, I made myself clear.
 
Sorry: there's nothing in Access that will provide that information.

The usual approach is to define a variable in each routine that contains the
module name.
 
Back
Top