tonyaims said:
Damian - I copied 2 tables and a form with a subform into the new
.mdb file. Everything was OK except that when I opened the form, I
got an error message that the table for the subform could not be
found.
Is there something else that needs to be done to capture everything
that Access wants regarding subforms? Is there another way to share
forms with subforms?
The structure of the data side of the database (tables, relationships and
queries) has to be exactly the same as the database in which the other
objects were created. You'll probably need to create relationships in the
"Import" database before the dependant forms / reports / queries will work.
I use this "export" method myself with my current project but I seldom
change the structure of the database, usually it's only new forms and
reports. I keep a copy on my local machine where I develop the objects, then
when no users are connected to the "production version" (on the WAN), I
upload the new objects. From time to time I delete the development version
and copy over a fresh copy of the production version.
I think in this case your answer lies in the relationships. As far as I know
there's no way to export the relationship definitions (but I would be
interested to see the reaction of an Access guru to this).
cheers
Damien