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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access/VB6 - copy a table structure to a new table

Status
Not open for further replies.

Raffles666

IS-IT--Management
Dec 8, 2004
149
0
0
GB
This one has me stumped. I have an Access database that contains a table (so far, so good).

I want to copy that table to a second table - but only the structure.

Is there a way using NOTHING but VB6 code to do this?

Connection methods are not a problem - as this is a fresh 'program'.

Thanks


Old school Alchemy engineer - trying to keep up with the times [hourglass]


"What do you mean - it wasn't broke until I fixed it?
 
Oh yes, you may lose the indexes when doing this.

It may be more useful to use the DAO TableDef and Indexes to build the table, or use ADOX.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top