Kath Pelletti
kp at sdsonline.net
Wed Feb 13 18:17:56 CST 2008
You are absolutely right - that works. Thanks Kath ----- Original Message ----- From: "Darren D" <darren at activebilling.com.au> To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Sent: Thursday, February 14, 2008 11:04 AM Subject: Re: [AccessD] Syntax for setting button with event procedure > Hi Kath > > Yes long time no talk - I do hope all is well > > Sorry the strFormName does not have to be in quotes > > Try - Forms(strSomeFormNameHere).[Closebutton].OnClick = "[Event > Procedure]" > > Works when I test it here >