I have a form frmPerson and a sub on that form subLinkedPerson. The records on the sub are filtered via the Person_ID. There is a button on the main form to bring up a list of contacts, upon which you can choose one and run a line of SQL to link the new conatct to the main person_id, the subform then requeries and the newly added contact is displayed on the subform.
This all works fine but once you add or remove contacts from the subform (via the SQL) and close the form it takes a good 30 secs to exit. Whereas when you open the form and don't change any data it closes as quickly as you would expect. There's no code at all that runs when the from closes, unloads, etc. I don't see how updating the data would have any impact on the from closing AFTER the data has clearly been changed - any ideas??? A2000 with back end tables.
many thanks!
This all works fine but once you add or remove contacts from the subform (via the SQL) and close the form it takes a good 30 secs to exit. Whereas when you open the form and don't change any data it closes as quickly as you would expect. There's no code at all that runs when the from closes, unloads, etc. I don't see how updating the data would have any impact on the from closing AFTER the data has clearly been changed - any ideas??? A2000 with back end tables.
many thanks!