Hi There Randy
A foreign Key is a field with is linked to a field in another table (usually a primary key). It helps with database normalisation and reduces repeating data.
Example
-------
Say I have a flat file table of students with the following structure.
ID Class Last First
-------------------------------------
1 1A Smith Tom
2 1A Ryan Mary
3 2A Kelly Brian
4 2A Smith Ann
we usually would split the above table into two tables
Class Table
------------
ClassID Name
------- -----
1 1A
2 2A
3 3A
Student Table
------------
ID ClassID Last First
--- ---- ----- -----
1 1 Smith Tom
2 1 Ryan Mary
3 2 Kelly Brian
4 2 Smith Ann
ClassID which is the Primary Key in the Class Table[/b] is joined to the Students Table by ClassID which is a Foreign Key.
If you notice, now that we have split the file up, we don't have repeating data.(i.e. the class name is not repeated in each record).
Furthermore if I am entering a Class in the Students table, because it is a Foreign key it MUST be present in the Class table before I can enter it. (this is called "Referential Integrity"
I hope this helps with your understanding of "Foreign Keys"!
:->
Bernadette