Set primary key for make-table Table??? (1 Viewer)

wrek

Registered User.
Local time
Today, 06:25
Joined
Jun 14, 2001
Messages
88
Hi Access gurus,

How do I set a certain field to be a primary key, when I construct the table using a make table query?

Is there a VBA property for primary key?

Thanks. your disciple,

wrek
 

araskas

Registered User.
Local time
Today, 06:25
Joined
May 31, 2000
Messages
38
CREATE TABLE myTable
(fld1 LONG CONSTRAINT myKey PRIMARY KEY,
fld2 TEXT .....)
 

Users who are viewing this thread

Top Bottom