Try :
lcCallingMethod = program( program(-1) -1 )
Glenn
>I am looking for the name of the function that when called within an objects method, will return the calling method or events name (or possibly a reference to the acual object) that invoked the object method. I.e. if my form has a method called ProcessSale and it is invoked by a commandbutton click event, the function that I am looking for will be executed inside of the ProcessSale method and return something like 'commandbutton.clickevent'. Thanks!!
>
>Mike