William Hindman
wdhindman at dejpolsystems.com
Wed Jan 21 11:25:14 CST 2009
...yes JC, but how do I do that from the subform? William -------------------------------------------------- From: "jwcolby" <jwcolby at colbyconsulting.com> Sent: Wednesday, January 21, 2009 11:41 AM To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> Subject: Re: [AccessD] subform close > The main form has a subform control on it, which hosts the > subform. that cpontrol has a "source object" property. > that property has to be set to a zero length string to cause > the subform to unload. > > John W. Colby > www.ColbyConsulting.com > > > William Hindman wrote: >> ...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 >