create dual primary key in access vb

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tobynegus
    New Member
    • Dec 2006
    • 3

    create dual primary key in access vb

    I need to create a dual primary key in MS Access using code. Can anyone help please?
    Last edited by Killer42; Nov 14 '07, 02:05 AM.
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    For what purpose? Can you state your purpose? All I know is that a primary key should be unique in one table. You cannot create another primary key on a table with the same field name. Unless, you created a foreign key to another table.

    Hope it helps.
    Last edited by Killer42; Nov 14 '07, 02:06 AM.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by tobynegus
      I need to create a dual primary key in MS Access using code. Can anyone help please?
      What do you mean by a "dual" primary key?

      Comment

      Working...