Neal Kling
nkling at co.montgomery.ny.us
Tue Apr 15 13:55:57 CDT 2003
Sure, in our own collection, but that's not the Access Forms collection, which by the way does add a reference to the form, but all the instances of the same form share the same name. I think you'll understand when you dive into the ADH modules. Neal Kling Lotus, isn't that some kind of fancy flower? -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, April 15, 2003 2:27 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Form instances (AXP) Actually, you could use the name plus an incremental number as the key when you add the item to the collection, but it is natural that you can't address it the conventional way if you have multiple instances open. Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, April 15, 2003 5:18 AM To: 'accessd at databaseadvisors.com' Subject: RE: [AccessD] Form instances (AXP) Thanks Neal. I have ADH 97. I'll try and wrestle it off my colleague!! -----Original Message----- From: Neal Kling [mailto:nkling at co.montgomery.ny.us] Sent: 15-Apr-2003 14:01 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Form instances (AXP) I adapted code from ADH that worked well. Basically you declare a form variable as Form_MyForm and work with it. They use a collection to hold pointers to the instances of a form and code to add and remove items from the collection. The one hitch that I quickly hit was that you can't reference your form by name, in other words you can't use Forms!MyForm. If you don't have ADH I could probably put something together for you. Neal Kling Lotus, isn't that some kind of fancy flower? -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, April 15, 2003 8:41 AM To: AccessD (AccessD at databaseadvisors.com) Subject: [AccessD] Form instances (AXP) Hi all Does anyone know where there is any documentation on opening multiple instances of a form? I can't find anything in the help file or on MSDN. TIA Roz _______________________________________________ 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