[AccessD] Call an event in another form

Rocky Smolin rockysmolin at bchacc.com
Mon Aug 15 16:19:28 CDT 2011


Yeah, doesn't help, though, I think the error's being generated by the
syntax of the calling statement - I think it never gets so far as to look
for the sub. 

R

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: August 15, 2011 2:17 PM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Call an event in another form

Have you declared lblTime0_CLick as Public in the form module?

--
Stuart

On 15 Aug 2011 at 14:07, Rocky Smolin wrote:

> Dear List:
> 
> I am trying to call the sub lblTime0_Click() which is in the CBF 
> frmMatterButtonsHorizontal.
> 
> Using:
> 
>     Call Forms("frmMatterButtonsHorizontal").lblTime0_Click
> 
> gives me an application-defined or object-defined error.
> 
> What is the correct syntax?
> 
> MTIA
> 
> Rocky Smolin
> Beach Access Software
> 858-259-4334
> www.bchacc.com <http://www.bchacc.com/> www.e-z-mrp.com 
> <http://www.e-z-mrp.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