Use the DoCmd.TransferDatabase option. When copying a table you have the
option of copying the table structure only.
--
Any advice, views or opinions are offered by me, not the company
Quote:
> I want to copy a table's structure but not its data. DoCmd.CopyObject
> copies both the structure and the data. If I go to the database window
and,
> with the mouse, copy the table and then paste, I'm given the option of
> pasting the structure and data, or only the structure. How can I copy
only
> a table's structure using VBA?