Practical Task 3 Database
Practical Task 3 Database
j2421bookings.csv
j2421child.csv
j2421childcare.rtf
j2421evidence.rtf
j2421lifelong.csv
j2421logo.jpg
j2421playgroup.rtf
j2421test_scores.csv
Task 1 – Evidence Document
Make sure that your name, centre number and candidate number will appear on every page of this
document.
Save this document in your work area as EVIDENCE followed by your candidate number, for example
EVIDENCE9999
You will need your Evidence Document during the task to place screenshots in when required.
Task 2 – Database
You are now going to prepare a report. Dates are to be imported in the format day month year (DMY).
Last_Name Text
First_Name Text
Child_ID Text
Gender Text
Contact_Name Text
Relationship Text
Contact_Number Text
2
Set Child_ID as the primary key.
Place in your Evidence Document a screenshot showing the field names, data types and primary
key.
Use these field names and data types and create a primary key field called ID:
Session_ID Text
Child_ID Text
Day Text
Session Text
Place in your Evidence Document a screenshot showing the field names, data types and primary
key.
[5]
2. Create a one-to-many relationship between the Child_ID fields in the child and bookings tables.
Place in your Evidence Document a screenshot showing the one-to-many relationship between the
tables.
[1]
3. Using fields from the child and bookings tables produce a tabular report that:
You are now going to create a data entry form. The form will contain radio buttons for the user to select
one option. Data from the selected option must be stored in a new field that you will create in the child
table.
4. Insert a new field in the child table named Ailment_ID which will be used to store data from radio
buttons. Set the most appropriate data type.
Place in your Evidence Document a screenshot showing the field names and data types used in
the child table.
5. Create a columnar data entry form, using selected fields from the child table, that:
• includes only the fields Last_Name, First_Name, Child_ID, Gender, DOB, Reg_Date and
Food_Allergy
• displays one record at a time.
Place in your Evidence Document a screenshot showing your form with a record from the database
displayed.
[2]
6. In the form created in Step 15, create five grouped radio buttons. The user must be able to select
one of the following options:
– Asthma
– Diabetes
– Eczema
– Epilepsy
– None
The option selected must be stored and displayed in the Ailment_ID field of the child table. Label
• the radio buttons are grouped as one option group with the label Ailment
• the option selected is stored in the Ailment_ID field of the child table
• all labels in the form are aligned to the left consistently and do not overlap other data in the
form.
• the radio buttons grouped as one option group with the label Ailment
4
• evidence of your method of linking this group to the Ailment_ID field.
[6]
7. Use the form modified in Step 16 to add the following data as a new record in the child table:
Last_Name Lambert
First_Name Jakara
Child_ID 3YR27
Gender Female
DOB 04/12/2022
Reg_Date 18/10/2023
Food_Allergy Yes
Ailment Eczema
Place in your Evidence Document a screenshot of the form with the new record displayed in full.
[1]
Use an automated selection method to locate the new record you entered in Step 17 with the
Child_ID 3YR27
[Total: 29]