[AccessD] Form that has focus

Heenan, Lambert Lambert.Heenan at chartisinsurance.com
Thu Oct 22 10:32:19 CDT 2009


A quick delve into the immediate window reveals that there is indeed an 'ActiveReport' method for the Screen object.

The way you can do this is go to the immediate window, type screen.  (got to include the period) and then hit Control+Space: you will see all the methods/members of the Screen object.

Lambert 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow
Sent: Thursday, October 22, 2009 10:59 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Form that has focus

So Is there a way to do the same thing with an report?

--- On Wed, 10/21/09, Heenan, Lambert <Lambert.Heenan at chartisinsurance.com> wrote:


From: Heenan, Lambert <Lambert.Heenan at chartisinsurance.com>
Subject: Re: [AccessD] Form that has focus
To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com>
Date: Wednesday, October 21, 2009, 12:57 PM


Well in pre-Access 2007 land it is...

Screen.ActiveForm.Name

Lambert 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow
Sent: Wednesday, October 21, 2009 1:26 PM
To: Access Developers discussion and problem solving
Subject: [AccessD] Form that has focus


Does anyone know how to reference what form has focus?  I have created a ribbon and want to know what form has focus when on click on a button in the ribbon.  Since I am clicking on the ribbon me.name does not appear to work.
 
Thanks!
 
Dale


      
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



      
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list