Professional Documents
Culture Documents
Chapter 18 Data Manipulation - Database Access - Ms
Chapter 18 Data Manipulation - Database Access - Ms
You are now going to prepare some reports for the company. Make sure all currency values are
displayed with no decimal places.
You are now going to prepare some reports for the company. Make sure all currency values are
displayed with no decimal places.
17 Using a suitable database package, import the file M16EMPLOYEES.CSV Use the these
field names and data types:
18 Import the file M16OFFICES.CSV as a new table with all fields set as text data types in your
database.
Set the Office_ID field as a primary key.
Take screenshot evidence showing the field names and data types used in the two tables.
[2]
Place these screenshots into your Evidence Document.
20 Create a data entry form for all fields in the Employees table.
[2]
− Data entry form created (1 mark)
− using all fields (1 mark)
21 Add the
following
record to
the
Employees table using your form:
[1]
Produce a report which: contains a new field called Bonus. It is the annual Salary of the
employee divided by 12. This is calculated at run-time. displays the contents of this field
as currency shows only the records where the Office is Ahmedabad and Contractor is No
shows only the fields Office (name in full), Telephone, Employee_ID,
Family_Name, First_Name, Job_Description, Contractor, Salary and Bonus in this order.
Make sure all labels and data are fully visible fits on a single page wide has a page
orientation of landscape sorts the data into ascending order of Family_Name calculates
the total cost of the bonuses paid in this office and places it at the bottom of the report
displays this value as currency
has a label Bonuses paid to the left of this number includes the heading Ahmedabad
Office Bonus Report at the top of the page has your name, Centre number and
candidate number on the report. [11]
Labels are:
− arranged in two columns (1 mark) [9]
− Wildcard Engineer (1 mark)
− Bangalore (1 mark)
− or Mumbai (1 mark)
− First _name space Family_name on one line (1 mark)
− Job description on new line (1 mark)
− Labels have the title Mana Project Development (1 mark)
− Title in larger font (1 mark)
− Candidate detail bottom of each label (1 mark)
[Total: 9]
0417_s16_qp_21
You are now going to prepare some reports for the company. Make sure all currency values display the €
sign and are to two decimal places.
No. Steps
20 Using a suitable database package, import the file J216ADSPORTS.csv Use these field
names and data types:
Course_Code Text
Activity Text
Type Text
Rating Number Integer
Location Text
Residential Boolean/Logical To display as Yes/No
Course_Cost Number Numeric/Currency
Duration Number Integer
– Course_Code, Activity, Type, Rating, Location, Duration field names and data types correct (1 mark)
– Residential as boolean/logic/Yes/No in design, displays Yes/No on report (1 mark)
– Course_Cost set as currency, displays currency symbol 2dp on NEWSLETTER extract (1 mark) – Cour
(1 mark)
No. Steps
– form created, includes all fields from database, evidence of drop down menu created (1 mark) – evide
to list (1 mark)
– Cornwall, Ireland, Scotland, Wales and Ireland entered correctly (1 mark)
22 Add the following record to the Adsports table using your form:
– one to many relationship created between Rating and Activity_Rating fields (1 mark)
No. Steps
25
Using fields from both the J216ADSPORTS and the J216RATINGS tables, produce a report which:
• contains a new field called Daily_Cost which is calculated at run-time and displayed as currency. This field
Course_Cost divided by Duration
• shows only the records where the Type is Water, Residential is Yes, Duration is 12 days or less and exclude
Scotland
• shows only the fields Course_Code, Location, Activity, Level, Duration, Residential and Daily_Cost in this o
displayed in full
• sorts the data into ascending order of Activity within ascending order of Location
• has a page orientation of landscape
• fits on a single page wide
• calculates the total number of Course_Codes in this selection and positions this number under the Course
• has the label Total water codes to the right of this number
• includes the report title Residential Water Activities at the top of the page
• has your name, Centre number and candidate number at the bottom of the report.
Place in your Evidence Document screenshots(s) showing the formula used to calculate the total number of ac
No. Steps
26 Produce an extract from all the data which:
• selects only those activities:
− which include Ski or Snow
− located in France
− where the Rating is 5
• shows only the fields Activity, Course_Code, Course_Cost in this order
• sorts the Course_Cost in descending order.
Place in your Evidence Document screenshot(s) showing the criteria used to select the required records. Save
can be imported into the document that you saved in Step 19.
– displays only the records where Activity contains Ski or Snow (1 mark)
– displays only the records located in France and Rating is 5 (1 mark)
– sorts the Course_Cost in descending order (1 mark)
– shows only the fields Activity, Course_Code and Course_Cost in the correct order (1 mark)
0417_m17_qp_21
Task 4 – Database
You are now going to prepare some reports for the company. Measurements are in metres and
volume in cubic metres. Prices are per cubic metre. Make sure all currency values are displayed
with 2 decimal places.
Task 4 – Database
You are now going to prepare some reports for the company. Measurements are in metres and
volume in cubic metres. Prices are per cubic metre. Make sure all currency values are displayed
with 2 decimal places.
No Steps Mark
20 Using a suitable database package, import the file M2017BOARDS.CSV Use 3
these field names and data types:
No Steps Mark
24 Create a data entry form to include all fields from the Trees table. 1
– a data entry form is created for Trees table, includes all fields from the table
(1 mark)
– 3 features that could be added to the form to make it easier to use (max
3 marks) up to 3 marks for relevant points:
good, easy to use forms:
navigation buttons drop
down menus
radio buttons checkboxes
self-explanatory field name
user notes/help legible
styles and sizes
appropriate field spacing
No Steps Mark
28 Evaluate the improvements you have made. Place your evaluation on the slide 3
with the title Evaluation of my form created in Task 2.
No Steps Mark
30 In your database, produce a report that: shows the fields, when the 14
tree was milled, the name of the location,
Board_ID, the type of tree, the Thickness, Width, Length, Ready, Sold and
Price. In this order contains a new field calculated at run-time called
Volume. This is calculated using Thickness multiplied by Width multiplied by
Length. The contents of this field must be displayed to 3 decimal places
shows only the records where Ready is No and Sold is
Yes has all data and labels fully visible has a page
orientation of landscape fits on a single page wide
sorts the data into Year_milled, then Location and then Board_ID, all three
fields in ascending order
calculates the total value of the selected boards by multiplying the Price field
by the Volume
displays this value below the Price column
displays this value as currency, the same currency as your Price field
has a label to the left of this number: Value of this stock
includes the report title: Sold timber in store at the top of the report has
your name, Centre number and candidate number set to appear on each page
of the report.
Save and print your report.
PRINTOUT 3
Make sure that you have entered your name, Centre number and candidate
number on your report.
No Steps Mark
31 Produce a report from all the data that: 6
shows the Board_ID, Tree type, Thickness, Ready and Sold fields only
displays these fields only with data shown in full in portrait orientation and
fitted to one page
only includes boards
– where tree type includes the text Plane or Beech
– which are at least 0.05 m thick
– which are ready now
– which are not yet sold are sorted in ascending order of tree type
counts the number of boards available and places this value at the bottom of
the report
includes the report title: Plane and Beech boards available
EVIDENCE 8
Place in your Evidence Document a screenshot showing how you calculated the
number of boards available.
Save and print your report.
PRINTOUT 4
Make sure that you have your name, Centre number and candidate number on the
report.
– report has the title Plane and Beech boards available (1 mark)
– displays specified fields only, all data in full on one page portrait (1 mark)
– includes wildcard searches Plane and Beech (1 mark)
– Thickness is >= 0.05 (1 mark)
– sorted tree type ascending (1 mark)
Total: 40
[Total: 40]
0417_s17_qp_21
Task 3 – Database
You are now going to prepare some reports for the company. Make sure all currency values
display a currency symbol and are to two decimal places.
15 •
0417_s17_qp_22
Task 3 – Database
You are now going to prepare some reports for the university.