Hello,
is there any way to get the name of the current running procedure?
For example:
Public Sub Test( )
'do something
'...
'log activity (for example)
objLog.Write(Text := "bla bla bla", _
ProcName := dontKnowWhatIsThis.GetProcName() )
End Sub
Any possibility?
Cesar
------=_NextPart_000_0012_01C704EB.3EC322F0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Google-AttachSize: 1758
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>is there any way to get the name of the current
running procedure?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Public Sub Test( )</FONT></DIV>
<DIV><FONT face="Courier New" color=#008000 size=2> 'do
something</FONT></DIV>
<DIV><FONT face="Courier New" color=#008000 size=2>
'...</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" color=#008000 size=2> 'log
activity (for example)</FONT></DIV>
<DIV><FONT face="Courier New" size=2> objLog.Write(Text :=
"bla bla bla", _</FONT></DIV>
<DIV><FONT face="Courier New" size=2>
ProcName :=
dontKnowWhatIsThis.GetProcName() )</FONT></DIV>
<DIV><FONT face="Courier New" size=2>End Sub</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any possibility?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cesar</FONT></DIV></BODY></HTML>
------=_NextPart_000_0012_01C704EB.3EC322F0--