Results 1 to 2 of 2
  1. #1
    shital is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    3

    composite unique key


    hi

    Is there any 'composite unique key' concept in access?
    if yes how to achieve?

    Thanks in advance

  2. #2
    DaveT is offline Access Developer
    Windows 7 Access 2007
    Join Date
    May 2010
    Location
    Texas
    Posts
    69

    Compound index

    1. For a PrimaryKey, in table design, highlight more than one field, then click on Primary Key icon on table design ribbon.

    2. As an alternative, using the indexes dialog in table design, set an index on the first field. then add additional field(s) to the index by typing field name on next line down leaving the index name blank.

    Mostly (see indexes properties dialog for some settings such as Primary, Unique, and Ignore nulls) the same rules apply to a compound index as to a single field index: Primary keys cannot be null, etc.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculation on unique entries
    By cjbuechler in forum Programming
    Replies: 3
    Last Post: 06-24-2010, 09:47 AM
  2. Count of Unique Values
    By vsmk in forum Queries
    Replies: 2
    Last Post: 03-14-2010, 12:07 AM
  3. how to set a unique ID
    By archie in forum Access
    Replies: 1
    Last Post: 09-08-2009, 04:28 AM
  4. Unique Puzzle
    By Christina G in forum Database Design
    Replies: 0
    Last Post: 03-14-2009, 06:37 PM
  5. query that will contain all unique records
    By halcolm1 in forum Queries
    Replies: 0
    Last Post: 01-19-2007, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums