Hi,
I have written ADO VBA code that cycles through an open database and copies all the objects to a new database. Even though, I do a docmd.close on the form that launched the code, it still hiccups like it is open. Any thoughts on how to remedy this so that object gets copied as well. Also, any thoughts on a simple way to copy a database while inside it such that the copy has imported versions of the tables and not linked ones (original db has linked oracle tables).
my loop for my forms is like this...
For Each obj In dbs.AllForms
DoCmd.CopyObject sName, obj.Name, acForm, obj.Name
Next obj
Thank you,
Colette
I have written ADO VBA code that cycles through an open database and copies all the objects to a new database. Even though, I do a docmd.close on the form that launched the code, it still hiccups like it is open. Any thoughts on how to remedy this so that object gets copied as well. Also, any thoughts on a simple way to copy a database while inside it such that the copy has imported versions of the tables and not linked ones (original db has linked oracle tables).
my loop for my forms is like this...
For Each obj In dbs.AllForms
DoCmd.CopyObject sName, obj.Name, acForm, obj.Name
Next obj
Thank you,
Colette