Windows Thread, ms access request for help in Technical; :x To all you access Gurus
I have been asked to look at setting up and access database to do ...
6th October 2006, 01:46 PM #1
- Rep Power
ms access request for help
:x To all you access Gurus
I have been asked to look at setting up and access database to do the following
To keep a record of pupils and 9 tasks the pupils have to do and also the total amount of time it took a pupil to do this task
They have a total of 25 Hours to do all tasks but this is spread out over the year.
What I need is someone to tell me the best table layout to do this
The pupil record has to have the following
Total Hours taken for all 9 Objectives
A description of what the pupil did to achive each Objectives
record if that task is complete
Also Date Task was Complete
I have done a test database with just one table in it and inside that table
had all of the above but apart from name, form and total hours I repeated the rest nine times.
This just does not seem right
What I want is to pull up the pupil name and then select Task say from a Drop down box this would then insert a new field if it did not allready exist in pupil recored and then you can fill in the task details of course if the field/s all ready existed then to open that up to allow you to update this
It would then need to update the total Hours field in the pupil record with the hours it took to do that task/objective.
I have basic Access knowledge but i cannot think of best way to achive this can anyone help please
HILBRE HIGH SCHOOL
IDG Tech News
6th October 2006, 02:01 PM #2
Re: ms access request for help
You'll need a second table with a foreign key in the first to refer it too.
Pupil Table ->
Automatic ID (PK)
Tasks Table ->
Automatic ID (PK)
Date Task was completed
Time taken to complete this task
Pupils ID (FK)
Then link the FK on the Tasks table to the PK on the Pupils.
Then you could write a quick bit of code to look up all of the tasks with that pupils ID number and calculate the total time taken so far!
By daveyboy in forum Hardware
Last Post: 22nd November 2007, 12:17 PM
By jumpinjamez in forum Educational Software
Last Post: 19th November 2007, 01:09 PM
By PageZ in forum General Chat
Last Post: 11th July 2007, 02:43 PM
By CM786 in forum Windows
Last Post: 20th May 2006, 04:29 PM
By peterday in forum Windows
Last Post: 21st November 2005, 03:13 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)