From a module copy a form & toolbar from another database

G

Guest

I am trying to copy a form and it's toolbar & menubar from another database
in a module function.
I tryed using TransferDatabase, but I don't get the toolbars or menubars.
I am using Access 2000
 
G

Guest

Try this.

You have two DataBases. To do the operation you need, wil be able by opening
two instances of Acess 2000, one for each DataBase.

So, when the two DB are open

You can copy the form from One of the Instances, and then past into the
other Instance.

To copy the Module you can do by using the Window of Microsoft Visual Basic
that you see when check the code for an event.

In the section of the Project Explorer you right clic over the name of the
module that contains the code yuo need, select "Export to file..." and give a
name for it.

To add the module to Destination Database you have to do the same process,
but, now in the "Project Explorer" you right clic and choose "Import from
file..." and select the file you exported.


I hope helped you. And sorry for my english. I'm latin-american
 

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

Similar Threads


Top