Arthur Fuller
artful at rogers.com
Wed Sep 24 16:26:34 CDT 2003
Assuming A2000 or 2002. Probably your update click procedure is private. You could either change it to Public or write a public sub in form x that simply calls cmdUpdate_Click(). If you change the procedure to public, you can write: Forms("x").cmdUpdate_Click() Hth, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pajnic, Goran Sent: Wednesday, September 24, 2003 6:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Syntax problem in Access 2000 Hi group! Greetings from Sweden! Syntax problem in Access 2000: I have a forms called x and y. The form X is open and the form Y is open too. On the form X I have a button called "cmdUpdate" and some code in On click property for this button - cmdUpdate_Click(), in other words. When I close Y (On Close) I will run cmdUpdate_Click(). I can't get this work...some suggestions? Thanks Goran Pajnic Skanska IT Solutions AB 205 33 MALMÖ Sweden e-mail: goran.pajnic at skanska.se <http://www.itsolutions.skanska.com/> http://www.itsolutions.skanska.com "This message has been written in 100% recycled electrons" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003