|
-
Nov 10th, 2001, 05:17 AM
#1
Thread Starter
Fanatic Member
Multiple Index Key in Access2000
I have two fields (StudId and DatePaid) together with other fields in my table. I could not make my StudId to be my only key (to avoid duplicates due to some circumstances. What I wnt is to assign StudId+DatePaid to be my Key. How can I do it? (in access or in vb ado).
On Error GoTo Hell
Hell:
Kill Me
Food For Thought:
- Do not judge a book... if you're not a judge!

-
Nov 12th, 2001, 09:22 AM
#2
Junior Member
in table design create an index on the first field allowing for duplicates then open the index window and add the second field to the list. The comdination of the two fields should now create you a primary key..
Max
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|