From: ThomasAJ on
I have a sub-form that is in several different forms. I want to know which
form it is in when I click on a control in the sub-form.

--
Regards
Tom
From: Daniel Pineault on
Try something like:

Me.Parent.Name

--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.



"ThomasAJ" wrote:

> I have a sub-form that is in several different forms. I want to know which
> form it is in when I click on a control in the sub-form.
>
> --
> Regards
> Tom