Creating an Index

aziz rasul

Active member
Local time
Today, 10:32
Joined
Jun 26, 2000
Messages
1,935
I use the following code: -
Code:
    CurrentDb.Execute "CREATE INDEX PrimaryKey ON tblContractCountry ([ProductIDprod],[CountryCode],[Contract]);"
which creates the index OK. How do I amend the code so that the Unique index property is set to True?
 
Many thanks.
 

Users who are viewing this thread

Back
Top Bottom