Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Simple question

Discussion in 'Information Technology' started by questionmarc420@msn.com, Jul 28, 2006.

  1. questionmarc420@msn.com

    questionmarc420@msn.com
    Expand Collapse
    Guest

    I got an easy question
    i forgot how to set a foreign key in access.
    can somebody please remind me how

    thanks alot in advance
    -morc
     
  2. Loading...

    Similar Threads Forum Date
    Grammer / Vyakarn Learn Simple & Easiest Gurbani Vyakaran/grammer From Prof. Maninderpal Singh Language, Arts & Culture Mar 9, 2015
    General Babaji Ranjit Singh Dhandrian Wale, Simple living high Thinking Hard Talk Sep 27, 2013
    Sikh Weddings Simple? No, they Are Indulged In Brahmanwad Questions and Answers Sep 15, 2012
    The One-Minute Mystic: Simple Things You Can Do to Stay Connected Spiritual Articles May 23, 2011
    Being a Simple Sikh (blog of a Prithihardkaur Sikh) Spiritual Articles Sep 13, 2010

  3. Pieter Wijnen

    Pieter Wijnen
    Expand Collapse
    Guest

    programatically via the relations Container
    Or with DDL Query
    Or vie Tools/relationships

    Pieter

    <questionmarc420@msn.com> wrote in message
    news:1148484595.315829.193030@y43g2000cwc.googlegroups.com...
    >I got an easy question
    > i forgot how to set a foreign key in access.
    > can somebody please remind me how
    >
    > thanks alot in advance
    > -morc
    >
     
  4. questionmarc420@msn.com

    questionmarc420@msn.com
    Expand Collapse
    Guest

    thanks for the quick reply
    but i don't understand.
    can you dumb it down for me please ?
    i have two tables, stores and items.
    stores has a primary key which is to be the foreign key in the items
    table.
    when i drag the storepk from the items table to the stores table in the
    relationship it doesnt change it to a foreign key and doesn't
    reconginze it as a unique index.
    i haven't used access in 3 years or more i basicaly remember nothing,
    all help is appreciated
    thanks again
    -morc
     
  5. Pieter Wijnen

    Pieter Wijnen
    Expand Collapse
    Guest

    Are you sure you've set the field to be the primary key?
    Open the table & Check for the Key symbol (or view the indexes)

    Pieter

    <questionmarc420@msn.com> wrote in message
    news:1148485760.830729.52400@j55g2000cwa.googlegroups.com...
    > thanks for the quick reply
    > but i don't understand.
    > can you dumb it down for me please ?
    > i have two tables, stores and items.
    > stores has a primary key which is to be the foreign key in the items
    > table.
    > when i drag the storepk from the items table to the stores table in the
    > relationship it doesnt change it to a foreign key and doesn't
    > reconginze it as a unique index.
    > i haven't used access in 3 years or more i basicaly remember nothing,
    > all help is appreciated
    > thanks again
    > -morc
    >
     
  6. questionmarc420@msn.com

    questionmarc420@msn.com
    Expand Collapse
    Guest

    yes ive set the primary keys
     
  7. John Vinson

    John Vinson
    Expand Collapse
    Guest

    On 24 May 2006 08:29:55 -0700, questionmarc420@msn.com wrote:

    >I got an easy question
    >i forgot how to set a foreign key in access.


    Just create a relationship in the Relationships window.

    There's nothing distinctive or visible in table design about a foreign
    key; a field is a foreign key by virtue of how it's being used, not
    by any particular attribute of the table or of the field.

    John W. Vinson[MVP]
     

Share This Page