Solved

Index No Duplicates - Foreign Keys

Posted on 2010-08-26
3
434 Views
Last Modified: 2012-05-10
Hi Experts,
How do i go about in setting up an index for two foreign fields.

Is it just a matter of selecting Index: Yes (No Duplicates) for the two fields?

In this case the two fields would be ClassProductID and ClassDate.

Thanks

IndexNoDuplicates.jpg
0
Comment
Question by:RiCzN
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 33533955
See the attached example

open table in design view
View>>Indexes
Give the new index a name, MyIndex in this example
Pick the Field Names
Click back in the first row (SeqNumber in this exampe)
Set the Unique property to Yes in the Index Properties window.

"Is it just a matter of selecting Index: Yes (No Duplicates) for the two fields? "
No.

mx
0
 
LVL 75
ID: 33533964
Opps ... now attached.

mx
Capture1.gif
0
 

Author Closing Comment

by:RiCzN
ID: 33534072
Thanks
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now