Is there a way (other than doing it manualy) to get the sub name and the form name that the error occured on.
I mean something like this -I know the synatax is not right of what i am writing-
on error goto err_handler
sub_name = this.sub.name
form_name = this.form.name
msgbox(sub_name & form_name)
Is there something as simple as that that I did not run across yet??
I figured out how to get the form name.
but still no success with getting the sub name