Erwin Craps - IT Helps
Erwin.Craps at ithelps.be
Thu Jan 8 15:47:48 CST 2004
Hi John Something like this. I'm not sure for the new keyword, it's with or without it. Dim frmYourForm1 as FORM_YourForm Dim frmYourForm1 as FORM_YourForm Set frmYourForm1 = new form_yourform frmYourForm1.visible = true frmYourForm1.control = "blabla" Set frmYourForm2 = new form_yourform frmYourForm2.visible = true frmYourForm2.control = "blabla" Set frmYourForm1 = nothing Set frmYourForm2 = nothing Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John W. Colby Verzonden: donderdag 8 januari 2004 20:36 Aan: AccessD Onderwerp: [AccessD] closing instances of the same form I need to open a given form multiple times, but I need to be able to close a specific instance of the form. Does anyone know how to do this. Normally you do a docmd.close acform, formname - however if you open the same form twice then the second form isn't called formname anymore. What is it called? John W. Colby www.ColbyConsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com