From a module copy a form & toolbar from another database

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
Back
Top