[AccessD] subform close

Denis Sherman max.wanadoo at gmail.com
Wed Jan 21 05:52:09 CST 2009


You could try.
Me.visible = false
And then from the main form close it with
Docmd.close acform "subformname",acsaveyes

Max


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman
Sent: 21 January 2009 04:47
To: Access Developers discussion and problem solving
Subject: [AccessD] subform close

...subform hosted on non-linked main form

...command button on subform

DoCmd.Close ...button animates but form doesn't close

...thinking that I'm probably going to have to set the mainform subform 
sourceobject to "" or another object and clean up anything on the open 
subform such as dirty data before I do it.

...anyone done this and have tested code or suggestions?

William

 


-- 
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