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

MS Access Practice

This is IGCSE access practice

Uploaded by

Ye Min Win
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

MS Access Practice

This is IGCSE access practice

Uploaded by

Ye Min Win
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

6

Task 3 – Database

You are now going to prepare a report. Dates are to be imported in the format day month year (DMY).

11 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

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]

© UCLES 2024 0417/21/M/J/24


7

12 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]

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

14 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]

15 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]

© UCLES 2024 0417/21/M/J/24 [Turn over


8

16 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
• evidence of your method of linking this group to the Ailment_ID field.
[6]

17 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]

© UCLES 2024 0417/21/M/J/24


9

18 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]

© UCLES 2024 0417/21/M/J/24 [Turn over

You might also like