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!

How do you programmatically change a table attribute to have an index

Status
Not open for further replies.

ToyFox

Programmer
Jan 24, 2009
161
US
I would like to create an index programmatically

I added 1 fields to a table using the following code...

CurrentDb.Execute "ALTER TABLE" [Accts] Add Column Test Text"

How can I change an existing field to have an index.
 



Hi,

What application?

If MS Access, please post in one of the MANY Access forums like forum705.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top