Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Foreign keys and composed keys

Status
Not open for further replies.

ak48

Technical User
Aug 1, 2003
34
US
Hi, I am new to the world of access and I want to know the way to create foreign keys and keys that are composed with more than one field. Thanx for the help.
 
Hi there!

Very briefly...
For a Composite key: In the Design View of your table, you should be able to highlight & select two fields for example, (using 'shift' key or your mouse), and then selecting the yellow 'key' symbol from the menu.

For your Foreign Key: This will be a Primary Key in a previous table to which you will want to link your current table to. (Refer to the help menu in the database window.

Best wishes

Magnetar [atom]
 
Hi there!

Very briefly...
For a Composite key: In the Design View of your table, you should be able to highlight & select two fields for example, (using 'shift' key or your mouse), and then selecting the yellow 'key' symbol from the menu.

For your Foreign Key: This will be a Primary Key in a previous table to which you will want to link your current table to. (Refer to the help menu in the database window).

Best wishes

Magnetar [atom]
 
That was very brief, but that's all I needed. Thanx a lot!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top