Steps On How To Perform Task in Microsoft Access
Steps On How To Perform Task in Microsoft Access
Here's a breakdown of how to perform the tasks in Microsoft Access based on the given
queries:
Task A: Qry_Seatbelt
1. Create a new query: Go to "Create" tab, click "Query Design."
2. Add tables: Add the necessary table(s) containing offender data, ticket data, and seatbelt
violation data.
3. Add fields: Drag and drop the following fields to the design grid:
○ Offender ID
○ First Name
○ Last Name
○ Driver's License Expiry Date
○ Gender
○ (Field related to seatbelt violation, e.g., "Violation Type")
4. Set criteria: In the "Violation Type" field, enter the criterion for seatbelt violations (e.g.,
"Seatbelt").
5. Sort: Right-click on "Last Name" and choose "Sort Ascending."
6. Save: Name the query "Qry_Seatbelt."
Task B: Qry_Increase
1. Create a new query: Follow steps 1-2 from Task A.
2. Add fields: Drag and drop the necessary fields related to offender data and ticket cost.
3. Create a calculated field: In the design grid, add a new field and name it "Increased
Cost."
4. Set the expression: In the "Field" row, enter the following expression: [Ticket Cost] * 1.05
5. Save: Name the query "Qry_Increase."
Task C: Qry_Male_Unpaid_Tickets
1. Create a new query: Follow steps 1-2 from Task A.
2. Add fields: Drag and drop the following fields:
○ Offender ID
○ First Name
○ Last Name
○ TRN
○ Issue Date
○ Deadline Date
○ Contact Number
○ (Field related to ticket cost)
3. Set criteria:
○ Gender = "Male"
○ (Field related to ticket cost) > 5000
4. Save: Name the query "Qry_Male_Unpaid_Tickets."
Task D: Qry_SumofPaid
1. Create a new query: Follow steps 1-2 from Task A.
2. Add fields: Drag and drop the necessary fields related to ticket cost and payment status.
3. Set criteria: Payment status = "Paid"
4. Calculate total: In the design grid, add a new field and name it "Total Paid."
5. Set the expression: In the "Field" row, enter the following expression: Sum([Ticket Cost])
6. Save: Name the query "Qry_SumofPaid."
Task E: Form
1. Create a new form: Go to "Create" tab, click "Form."
2. Add fields: Drag and drop the necessary fields from the offender table and ticket cost
table.
3. Arrange layout: Design the form layout to display the data clearly.
4. Save: Name the form "Offender Entry Form."
Task F: Report
1. Create a new report: Go to "Create" tab, click "Report."
2. Add fields: Drag and drop the following fields:
○ Offender ID
○ First Name
○ Last Name
○ Parish
○ Offence ID
○ Cost/Charge
3. Group and sort: Group the report by "Parish" and sort by "Cost/Charge" in ascending
order.
4. Add totals: Add a "Sum" function to the "Cost/Charge" field to calculate totals for each
parish.
5. Add report header and footer: Design the report header to include your name and the
report title "Number of Offenders by Parish." Add a report footer with the text "Revenue
Collections Agency of Jamaica."
6. Save: Name the report "Offenders by Parish."
Please note:
● Replace placeholder field names with the actual field names in your database.
● Adjust the criteria and expressions as needed based on your specific database structure.
● You can customize the reports and forms further by adding formatting, colors, and other
features.
Let me know if you need more detailed instructions or have any other questions.