
Obtaining Current Sub/Function Name
Quote:
>-----Original Message-----
>How can I return the name of the current sub or function
>that the code is in. I have been able to find code for
>listing all modules, but not the current one. I need to
>have the ability to make a list of the subs or functions
>that are being used in my database before sending it out
>for use.
>.
>As far as I know there is nothing, at least as far as VB
6. All the code I see that has the routine name in it is
done by settin a string variable to the routine name.
People would not go to that trouble if the name was
availalbe