Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy paste a table with structure only 1

Status
Not open for further replies.

wuwang

Programmer
May 16, 2001
48
US
Hi,

I'm trying to copy paste a table with structure only using DoCmd CopyObject but I received type mismatch error.

The command I use is :
appAccess.DoCmd.CopyObject "new table", acTable, "old table"

Is the CopyObject method that I should use?

Thank you for your help!

 
appAccess.DoCmd.CopyObject [!], [/!]"new table", acTable, "old table"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top