copying VB code from 1 db to another

R

RJohnson

If I create a new, blank database and then "get external" all the objects
from an old database, how can I copy over any VB code?
 
D

Douglas J. Steele

When you select Import, you're given the option to import tables, queries,
forms, reports, macros or modules.
 
J

Jeff Conrad

Make sure you immediately compile your database before closing as well!
Especially if you are running Access 2000 and have not updated to SP3.
 
V

Van T. Dinh

Codes behind Forms, Reports are copied with the Forms / Reports you
imported. Standard Modules and (stand-alone) Class Modules are shown in the
Modules tab of the source database which you can import to your new
database.
 
Top