If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to change index programmatically
Dear all,
I have existing primary key index which consists of field A + field B. Now I want to modify the index which consists of field A + field B + field C. How to change it programmatically ? Thanks. Chlaris |
#2
|
|||
|
|||
How to change index programmatically
Hi,
you have to delete existing key and then create a new one. You can do this either using DAO (see CreateIndex Method), or DDL (see ALTER TABLE Statement) -- Best regards, ___________ Alex Dybenko (MVP) http://accessblog.net http://www.PointLtd.com "Chlaris" wrote in message ... Dear all, I have existing primary key index which consists of field A + field B. Now I want to modify the index which consists of field A + field B + field C. How to change it programmatically ? Thanks. Chlaris |
Thread Tools | |
Display Modes | |
|
|