I created a database with a form with 9 buttons. The fifth step presents an input box so the user can create a name for another database that will be created and loaded with many of the objects from the current database. Since I want the entire process to be as ‘hands off’ as possible for the user, I was dismayed when I discovered that references on the new database always have to be juggled for the code to work properly.
I finally decided that instead of creating a new database and exporting objects to it I would simply copy the entire database to the new name, thereby avoiding the references problem.
I would still like this process to be automated, avoiding the user having to go to Windows Explorer and manually copying the database. I thought of capturing the path and filename of the source database and prompting for the new copy database name — then create a function or macro from this information and export it to the utility database to be run to make the copy. Am I making this more difficult than necessary to keep it automated — after all, you can’t copy a database if it’s open. Any thought and/or tips on how to accomplish creating a macro or function from the captured info. would be welcomed.
Thanks,
Randy