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

Adding indexes to tables at runtime

Status
Not open for further replies.

peekay

Programmer
Oct 11, 1999
324
ZA
I wish to add an index to an existing field in an existing table in an Access97 database. How can I do this programatically so that the specific field gets a primary key during runtime.


PK Odendaal
pko@mweb.co.za

 


JET has a complete Data Definition Language with the ability to create (and DROP) indexes.

Take a look at The CREATE INDEX statement in the online reference.
Amiel
amielzz@netscape.net

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top