Rocky Smolin
rockysmolin at bchacc.com
Mon Aug 15 16:33:11 CDT 2011
Nope, my bad Public works. Think I had to recompile. Thanks Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: August 15, 2011 2:19 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Call an event in another form 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com