0% found this document useful (0 votes)
7 views4 pages

Practice - Test - 3rd Year

The document provides instructions for completing tasks related to a database for Cape Travels Trading, including applying a primary key, designing combo boxes, and creating queries and reports. Specific tasks include editing fields, creating queries to filter data, and formatting reports. At the end of the session, all files must be saved and renamed appropriately before submission.

Uploaded by

Minenhle Jiyane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Practice - Test - 3rd Year

The document provides instructions for completing tasks related to a database for Cape Travels Trading, including applying a primary key, designing combo boxes, and creating queries and reports. Specific tasks include editing fields, creating queries to filter data, and formatting reports. At the end of the session, all files must be saved and renamed appropriately before submission.

Uploaded by

Minenhle Jiyane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

INSTRUCTIONS AND INFORMATION:

 Ensure that you save each document using the file name given in the question
paper.

 Only files that have been handed in will be marked.

 Copy the zipped Data Files folder from Blackboard.

 Unzip the folder.

 Delete the zipped Data Files folder.

 Save your work at regular intervals as a precaution against possible power


failures.

 At the end of the session, ensure that ALL files have been saved in your test
folder, before you zip it and upload to Blackboard.

 Make sure that you have the following file in your folder:

Scenario

You are an accountant at Cape Travels Trading, a business that trades in Local and
Internal flights. Cape Travels provides packages to customers. You help the
management team analyse and report on various data that is important for the effective
management of the business.
Question 1

Open the database Travels, work in the table tblTravel_Info and complete the following
instructions.

1.1. Apply a primary key to the Customer field. (1)

(1)

1.2. Design a combo box for the Suburb field, that contains only the values of the
suburbs given. Each value must be displayed once. (4)
1.3. Select a suitable data type for the Travel Paid field and format the data type to
display the correct data. (1)
1.4. Replace all occurrences of M in the Gender field with Male. (2)
1.5. Edit the Tel No. field to:
1.5.1. Data Type – Number (1)
1.5.2. Set a validation rule to ensure that the value entered must be 10 numbers for a
telephone number. (2)
1.5.3. Also, add a suitable validation text. (1)
1.5.4. Add 10 as a default value (1)
1.5.5. Sort the CustomerID column so that it appears in numeretical order. (1)
1.6. Save the changes you made and close the table.

2
.
Question 2 [16]

Create the following queries based on the Travel_Info table.

2.1. Create a query that displays female travlers who stay in Sunningdale.Display
fields Gender and Surname. Save the query as Qry 1. (5)
2.2. Create a query that displays the employees whose travel amounts are equal to
R10 000. Save the query as Qry 2. (3)
2.3. Create a query and display the fields Surname, Gender and Suburb. Save the
query as Suburb_Info. Create a parameter with the Suburb_Info to allow
management to search for different suburbs. (5)
2.4. Create a query that displays the customerID, name, surname, travel amount and
date of departure. Using the date of departure column, use a function to estimate
how many days have passed from TODAYS date. (8)
.
Question 3 [20]

Create the following report based on the tblTravel_Info table.

3.1. Insert the following fields in the report:


3.1.1. Surname, CustomerID, FirstName, Suburb,Travel amount and Travel Paid (4)
3.1.2. Sort the report according to the Surname field in alphabetical order. (1)
3.1.3. Save the report as Amount_Collected.
3.1.4. Use a calculation to display the total amount paid for for at the bottom of the
report. (1)
3.1.5. Do not display the date on the page footer. (1)
3.1.6. Do not display the page number on the page footer (1)
3.2. Apply formatting to the report as displayed in Error: Reference source not found.
(6)

3.3. Display at the


bottom of the
report the highest
Travel amount
Paid. (4)

3
3.4. Save and close your report. Make sure that all your applications are saved.
Rename your database to YourSurname_Name_Test 1_2024.

You might also like