HOW TO CREATE A UNIQUE INDEX:
Creating a unique index on a single field is easy. You can do it in the
table design view. At the bottom portion of the screen is a property called
Index. Set that to Yes(No Duplicates). If you want to allow Nulls, set
Ignore Nulls to Yes.
Creating a unique index on multiple fields is not so straight-forward. In
the table Design View, click the Indexes Button (it has a lightening bolt on
it). Under Index Name, type a meaningful name and then select a field in
the Field Name column. In the lower portion, set the Unique property to
Yes. Now WITHOUT entering another Index Name, select your second field in
the next Field name and so on until you have all the fields you need:
IndexName FieldName SortOrder
========= ========= =========
WholeName LastName
FirstName
For performance reasons, you should create them in the order that they
appear in the table in design view.
--
--Roger Carlson
MS Access MVP
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L