P
PG Oriel
Hi, this is what I have so far in my attempt to move from my Excel sheets to
Access. Thanks to Karl Dewey for the following structure:
Use the following table structure –
Student ---
StudentID – Autonumber – primary key
Surname – text
Forename – text
Sex – text – validate “M†or “Fâ€
Birthdate – DateTime
Classes ---
ClassID - Autonumber – primary key
Name – text
StudentClass ---
StudentID – number – integer – foreign key
ClassID - number – integer – foreign key
ClassYear – DateTime – school year start (1 Sep 05)
Behaviour –--
BehaviourID - Autonumber – primary key
Name – text (conduct observed)
Warning ---
WarningID - Autonumber – primary key
Name - text
Incident ---
IncidentID - Autonumber – primary key
Occur – DateTime
StudentID – number – integer – foreign key
ClassID - number – integer – foreign key
BehaviourID - integer – foreign key
WarningID - integer – foreign key
Remarks – memo
I have set the database up as shown. I do not know what foreign key means...
I have just made thes fields. Is there a way for me to let Access know that
StudentID is from another table?
Also, where do I go from here to set up a working example with data entry
forms etc?
Thanks
Paul
Access. Thanks to Karl Dewey for the following structure:
Use the following table structure –
Student ---
StudentID – Autonumber – primary key
Surname – text
Forename – text
Sex – text – validate “M†or “Fâ€
Birthdate – DateTime
Classes ---
ClassID - Autonumber – primary key
Name – text
StudentClass ---
StudentID – number – integer – foreign key
ClassID - number – integer – foreign key
ClassYear – DateTime – school year start (1 Sep 05)
Behaviour –--
BehaviourID - Autonumber – primary key
Name – text (conduct observed)
Warning ---
WarningID - Autonumber – primary key
Name - text
Incident ---
IncidentID - Autonumber – primary key
Occur – DateTime
StudentID – number – integer – foreign key
ClassID - number – integer – foreign key
BehaviourID - integer – foreign key
WarningID - integer – foreign key
Remarks – memo
I have set the database up as shown. I do not know what foreign key means...
I have just made thes fields. Is there a way for me to let Access know that
StudentID is from another table?
Also, where do I go from here to set up a working example with data entry
forms etc?
Thanks
Paul