0% found this document useful (0 votes)
6 views

Practical Task 3 Database

The document outlines a series of tasks for creating and managing a database using provided source files. It includes instructions for importing data, creating relationships, generating reports, and designing forms with specific fields and functionalities. Additionally, it emphasizes the need for evidence documentation through screenshots at various stages of the process.

Uploaded by

sen.parrdum
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Practical Task 3 Database

The document outlines a series of tasks for creating and managing a database using provided source files. It includes instructions for importing data, creating relationships, generating reports, and designing forms with specific fields and functionalities. Additionally, it emphasizes the need for evidence documentation through screenshots at various stages of the process.

Uploaded by

sen.parrdum
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

You have been supplied with the following source files:

j2421bookings.csv
j2421child.csv
j2421childcare.rtf
j2421evidence.rtf
j2421lifelong.csv
j2421logo.jpg
j2421playgroup.rtf
j2421test_scores.csv
Task 1 – Evidence Document

Open the file j2421evidence.rtf

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).

1. Use database software to import the file j2421child.csv as a new table.

Use these field names and data types:


Field name Data type Display

Last_Name Text

First_Name Text

Child_ID Text

Gender Text

DOB Date/Time Day month year

Reg_Date Date/Time Day month year

Food_Allergy Boolean/Logical To display as Yes/No

Contact_Name Text

Relationship Text

Contact_Number Text
2
Set Child_ID as the primary key.

Save the data.

Place in your Evidence Document a screenshot showing the field names, data types and primary
key.

Import the file j2421bookings.csv as a new table in your database.

Use these field names and data types and create a primary key field called ID:

Field name Data type Display

Session_ID Text

Child_ID Text

Day Text

Start_Time Date/Time hh:mm

End_Time Date/Time hh:mm

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:

• selects the records where:


– Day is Monday
– Session is Morning or Sunrise Club
• contains a new field called Total_Time which is calculated at run time
Total_Time = (End_Time – Start_Time) × 24
Format this field to display as a numeric value to 1 decimal place
• shows only the fields Child_ID, First_Name, Last_Name, DOB, Day, Session, Start_Time,
End_Time, Total_Time and Food_Allergy in this order, with data and labels displayed in full.
Do not group the data
• sorts the data into descending order of Session and ascending order of DOB
• has a page orientation of landscape
• fits on a single page width
• includes only the title Monday Morning Groups displayed in a larger font size, fully visible
and centre aligned at the top of the page
3
• has your name, centre number and candidate number in the footer of the report so that it
appears in the same position on every page.

Save and print your report.


[11]

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.

Save and close the table.


[1]

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

this option group Ailment

Make sure that:

• 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.

Place in your Evidence Document screenshots showing:

• 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

Check your data entry for errors. Save the data.

Place in your Evidence Document a screenshot of the form with the new record displayed in full.
[1]

8. Open the child table.

Use an automated selection method to locate the new record you entered in Step 17 with the
Child_ID 3YR27

Place in your Evidence Document screenshots showing:

• the use of an automated selection method to find the record


• the new record stored in the child table with all 11 fields displayed in full.
[2]

[Total: 29]

You might also like