(a) Why are you trying to do this programatically?
(b) Check out the CopyObject method; this might be what you need. However, note that in Access 2000 (and possibly other versions), there is a bug in Access which corrupts parts of your database if you copy whole Form or Report objects which happen to have embedded code (you'll get a meaningless 'network error', when this happens). There are some good related threads on this subject.
Steve Lewy
Solutions Developer
steve@lewycomputing.com.au
(dont cut corners or you'll go round in circles)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.