I've always had good luck using a "template" table definition -- that is, I
have an empty copy of the real tables, and code to create a new DB, then the
code uses CopyObject to copy the "templates" to the newly created DB. In a
few instances, I've done this so a user could create a new copy for
practice, but mostly I've used it to create temporary databases (rather than
temporary tables in the current DB) -- deleting temporary tables increases
the need for compact and repair, while using temporary databases does not.
If I recall correctly, there may be more detail in the section on temporary
databases at MVP Tony Toews' website,
http://www.granite.ab.ca/accsmstr.htm.
--
Larry Linson
Microsoft Office Access MVP
Co-Author, Microsoft Access Small Business Solutions, Wiley 2010
"Korr" <
gilb...@hotmail.com> wrote in message
news:fa89188c-73b5-4929...@googlegroups.com...