From: Paul on
Is there a way to capture the name of the currently active form in VBA?

Thanks in advance,

Paul


From: Tom van Stiphout on
On Sat, 6 Feb 2010 18:23:47 -0800, "Paul" <BegoneSpam(a)forever.com>
wrote:

Did you try Screen.ActiveForm.Name?

-Tom.
Microsoft Access MVP


>Is there a way to capture the name of the currently active form in VBA?
>
>Thanks in advance,
>
>Paul
>
From: Paul on
I wasn't aware you could do that, and it works great.

Thanks, Tom.


From: Daniel Pineault on
One method is:

Screen.ActiveForm.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.



"Paul" wrote:

> Is there a way to capture the name of the currently active form in VBA?
>
> Thanks in advance,
>
> Paul
>
>
> .
>
From: Paul on
Yes, I just found out about that one, Daniel.

Thanks