[AccessD] A2K: Get Current Sub Name

Stuart McLachlan stuart at lexacorp.com.pg
Thu Nov 13 22:23:43 CST 2003


I doubt it very much (unless you embed the name in a string). Once the 
code is compiled, the name is no longer there, just a pointer to a code 
location.


On 14 Nov 2003 at 12:35, Darren DICK wrote:

> Hello all
> Is there a way to determine the current sub name once you are in it then display it
> Is there a Current Sub Property? etc
> 
> eg  (PSEUDO Code)
> Private Sub MySub()
> Msgbox "My Sub Name is " & Application.SubName
> End sub
> 
> Many thanks in advance
> 
> Darren
> 
> _______________________________________________
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com


-- 
Stuart McLachlan
Lexacorp Ltd
Application Development,  IT Consultancy
http://www.lexacorp.com.pg



More information about the AccessD mailing list