Hewson, Jim
JHewson at nciinc.com
Wed Jan 21 11:37:03 CST 2009
I'm just curious, but what about instead of closing the subform, changing it to a 0" height and then resizing the parent form so there isn't an "ugly blank space" to deal with. I would think that in design mode, the subform height can be small and then resized when it is needed in the form view. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, January 21, 2009 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] subform close "ugly blank space" I can deal with, eh ...but yes, that's the essence :) William -------------------------------------------------- From: "Charlotte Foust" <cfoust at infostatsystems.com> Sent: Wednesday, January 21, 2009 11:22 AM To: "Access Developers discussion and problem solving" <accessd at databaseadvisors.com> Subject: Re: [AccessD] subform close > Normally, a subform closes when its parent form closes. Otherwise, you > wind up with an ugly blank space on the parent form. Is that what > you're trying to do? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Tuesday, January 20, 2009 8:47 PM > 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 > > -- > 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 ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################