Copying a form with event procedures

  • Thread starter Thread starter Janelle.Dunlap
  • Start date Start date
J

Janelle.Dunlap

Is there a workaround for copying event procedures with a form? I have
copied a form to a new database with DoCmd.CopyObject.... but it has
lost all of it's functionality (the combo boxes' event procedures are
no longer intact). I was wondering if there was any way to copy the
event procedures programatically so that I can get my form functioning
properly. Thanks.
 
Janelle,
Create a new database, and import the form from your old database into it.
It will have all the code and objects, just as the original.
 
Thanks for the suggestion but when I tried importing the form the code
was not copied with it. I am getting an error message "Error accessing
file. A network connection may have been lost."
 
I installed a service update on my computer and now everything is
working fine. Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top