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

Staff Company Item Unit Sales Delivery

This document provides instructions for completing an exercise in Microsoft Access to import a CSV file, assign data types to fields, insert sample records, and generate two reports from the database. The instructions specify: 1) Importing the N7STOCK.CSV file and assigning text or numeric data types to fields including Staff, Company, Item, Unit, Sales, and Delivery. 2) Inserting data for three sample records and checking for errors. 3) Saving the data and generating a first report that filters for specific companies, calculates a Cost field, sorts by Cost, and includes headers and footers with the student's information. 4) Saving and printing the first report. 5) Generating

Uploaded by

Aqilah Hasmawi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

Staff Company Item Unit Sales Delivery

This document provides instructions for completing an exercise in Microsoft Access to import a CSV file, assign data types to fields, insert sample records, and generate two reports from the database. The instructions specify: 1) Importing the N7STOCK.CSV file and assigning text or numeric data types to fields including Staff, Company, Item, Unit, Sales, and Delivery. 2) Inserting data for three sample records and checking for errors. 3) Saving the data and generating a first report that filters for specific companies, calculates a Cost field, sorts by Cost, and includes headers and footers with the student's information. 4) Saving and printing the first report. 5) Generating

Uploaded by

Aqilah Hasmawi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Name: ____________________________________ Date:_________________

Class: _______________________

Exercise 1 – MS ACCESS (Database)

1. Using a suitable database package, import the file N7STOCK.CSV


2. Assign the following data types to the fields.

Field name Data type


Staff Text
Company Text
Item Text
Unit Numeric / Currency / 2 decimal places
Sales Numeric / Integer
Delivery Boolean / Logical

Ensure that you use these field names. You may add another field as a primary
key if your software requires this.

3. Save a screen shot showing the field names and data types used. Print a copy of
this screen shot. Make sure that your name, class and school name are included on this
printout.

4. Insert the data for the following three records:

Check your data entry for errors.

5. Save the data.

6. Produce a report which:

• has a page orientation of portrait


• fits on a single page
• shows only the records where the Company is Patel or Dudley or
Simplex
• contains a new field called Cost which is calculated at run-time. This field
will calculate Unit price multiplied by Sales
• has the Cost field set as Currency with 2 decimal places
• shows only the fields Company, Item, Unit, Sales and Cost
• shows this data and the field names in full
• sorts the data into ascending order of Cost (with 0.57 at the top)
• includes the heading Patel or Dudley or Simplex at the top of the page
• has your name, class and school name on the right in the footer.

7. Save and print this report.

1
8. Produce a report which:

• has a page orientation of portrait


• fits on a single page
• shows only the records where Delivery is Yes and the words A4 and File
appear as part of the Item field
• shows only the fields Company, Item, Staff
• shows this data and the field names in full
• sorts the data into ascending order of Staff (with IS at the top) and then
descending order of Company
• includes the heading A4 files delivered at the top of the page
• has your name, class and school name on the left in the footer.

9. Save and print this report.

You might also like