Create Table with ADO

harrisw

Registered User.
Local time
Today, 21:19
Joined
Mar 27, 2001
Messages
131
Create a Table using VB

How can i create a table using nothing but code.

Thanx
 
You'd need use SQL and then execute the SQL in VBA

docmd.RunSQL (CREATE TABLE TableName)
 
This example creates a table, a couple of fields and sets the autonumber and primary key field.
HTH
Dave
 

Attachments

How do I do this using ADO and not DAO?

Many Thanks
 

Users who are viewing this thread

Back
Top Bottom