Results 1 to 2 of 2

Thread: Multiple Index Key in Access2000

  1. #1

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    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!


  2. #2
    Junior Member
    Join Date
    Apr 2001
    Posts
    19
    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
  •  



Click Here to Expand Forum to Full Width