Mobile Devices: Lite Theme Citroën: Citroën Trader | Saxo Trader | C2 Trader Peugeot: Peugeot Trader | 106 Trader Enthusiast: Saxperience


Go Back   Saxperience - Citroen Saxo Forum > Other... > Gaming, IT, Multimedia & Music
Register Member Photo AlbumsBlogs FAQ Calendar Experience

Gaming, IT, Multimedia & Music Please use this forum to discuss Gaming, IT, Multimedia & Music.

Reply
 
Thread Tools Display Modes
Old 15th March 2009, 20:06   #1
flynnsvtr
Frequent Poster
 
flynnsvtr's Avatar
 
Join Date: Jul 2008
Location: Southport
Posts: 895
Car(s): Saxo VTS
flynnsvtr is infamous around these parts
Default Anyone good with Access? Help!

Ok so I have a Databases assignment to do in access and need to set up the relationships between tables. Im hoping somebody can confirm or help me with this!

tblStudents

StudentNo*
Surname
Forenames
Course Code
PAT

tblEnrolments

StudentNo*
GroupNo*
Examination
Coursework

tblModules

GroupNo*
Title
Tutor
DayNo
Time
Room
Semester

tblCourses

Course Code*
Course Name

* = Primary Keys I have set

Just a bit stuck on where the one-many relationships will go! Not sure if anyone can help me, I know there are a few IT guys also on here unsure if they can help?
__________________
flynnsvtr is offline   Reply With Quote
Old 15th March 2009, 22:14   #2
gd16
Frequent Poster
Scotland Region Member
 
gd16's Avatar
 
Join Date: Nov 2003
Location: Tayside
Posts: 893
Car(s): S/c VT!?
iTrader Score: 6 (100%)
gd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud ofgd16 has much to be proud of
Default

StudentNo
1 to 1
1 student is only going to be enrolled once with the same student number.

GroupNo
1 to many
1 group number can have many students

Course Code
1 to many
1 course code can have many students



Been a few years - but sounds about right?
__________________
141bhp @ wheels
1.6 8V VTR
Project Thread
gd16 is offline   Reply With Quote
Old 15th March 2009, 23:21   #3
flynnsvtr
Frequent Poster
 
flynnsvtr's Avatar
 
Join Date: Jul 2008
Location: Southport
Posts: 895
Car(s): Saxo VTS
flynnsvtr is infamous around these parts
Default

Yeah that sounds quite right! I just need to know where the relationship goes from and too.

For example

(CourseCode) 1 - many (studentNo)
__________________
flynnsvtr is offline   Reply With Quote
Old 16th March 2009, 07:09   #4
saunders
Saxperience Forum Bum
South East Region Member
 
saunders's Avatar
 
Join Date: May 2006
Location: Kent
Posts: 3,669
Car(s): Fiat Seicento, MK2 Furio 2000 X, Pug 206
iTrader Score: 2 (100%)
saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!saunders is absolutely fabulous!
Default

From the details above it goes:

Student (1) to Enrolment (many)

Module (1) to Enrolment (many)

This is due to the enrolment obviously holding the detail for the students coursework and examination score. So there will be multiple enrolments for students for each module they complete. The strange thing is I think you have left out a foreign key somewhere as I would expect course to come in somewhere but can't etll from the information given
__________________

Last edited by saunders; 16th March 2009 at 07:12.
saunders is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:10.