Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / New Perspectives Access 2019 | Module 5: SAM Critical Thinking Project 1c Global Human R Modifying Tables and Queries GETTING STARTED Open the file NP_AC19_CT5c_FirstLastName_1

New Perspectives Access 2019 | Module 5: SAM Critical Thinking Project 1c Global Human R Modifying Tables and Queries GETTING STARTED Open the file NP_AC19_CT5c_FirstLastName_1

MS Access

New Perspectives Access 2019 | Module 5: SAM Critical Thinking Project 1c

Global Human R

Modifying Tables and Queries

  • *GETTING STARTED
  • Open the file NP_AC19_CT5c_FirstLastName_1.accdb, available for download from the SAM website.
  • Save the file as NP_AC19_CT5c_FirstLastName_2.accdb by changing the “1” to a “2”.
    • If you do not see the .accdb file extension in the Save As dialog box, do not type it. The program will add the file extension for you automatically.
  • Open the _GradingInfoTable table and ensure that your first and last name is displayed as the first record in the table. If the table does not contain your name, delete the file and download a new copy from the SAM website.
  • PROJECT STEPS
  1. You work in the software division of Global Human Resources Consultants (GHRC), which sells modular human resources (HR) software to large international companies. For high-level planning purposes, you have created an Access database to track new clients, the HR software modules they have purchased, and the lead consultant for each installation. In this project, you will improve the tables and queries of the database.

    Add three new fields to the Client table with the following specifications:

     
    1. A field named Website with the Hyperlink data type.
    2. A field named Logo with the Attachment data type.
    3. A field named Notes with the Long Text data type.
      For the Notes field, use Yes as the value for the Append Only property value.

      Save the Client table.
  2. Modify the following field properties in the Client table:
     
    1. Set Client as the caption for the ClientName field.
    2. Set 30 as the field size for the ClientName field.
    3. Format the ContractSigned and ProjectStart fields using the Medium Date format.

      Save the Client table. If prompted that some data may be lost, click Yes to continue. (Hint: No data is lost because no values exceed 30 characters in the ClientName field.)
  3. Still in the Client table, modify the following field properties:
     
    1. Make the Employees field required.
    2. Set a validation rule of >=500 for the Employees field.
    3. Set Minimum is 500 as the Validation Text property for the Employees field, and then save the Client table. If prompted to test data integrity rules, click Yes.
  4. Add a new Lookup field immediately below the existing fields using the following information:
     
    1. Enter CountryCode as the field name.
    2. Select the CountryCode and CountryName fields from the Country table.
    3. Sort the records in ascending order by the CountryName field.
    4. Do not hide the key column.
    5. Store the CountryCode value, use the other default options, and then save the Client table as prompted.
    6. Use Yes for the Column Heads Lookup property for the new CountryCode field.

      Save the Client table.
  5. Select DEU (Germany) as the CountryCode value for the first record (ClientID 1 Biolane Products) of the Client table.
  6. Modify the following table properties in the Client table:
     
    1. Set [ProjectStart]>=[ContractSigned] as the validation rule for the table.
    2. Set Contract must be signed before the project start date as the validation text for the table.

      Save the Client table. Click Yes if prompted to test for data integrity.
  7. Add a total row to the datasheet, and then sum the value in the Employees field in the Client table.

    Save and close the Client table.
  8. Switch to the Revenue query and complete the following modifications:
     
    1. Enter Software Module as the caption for the ComponentName field.
    2. Add the total row to the query grid, count the ClientName field, and sum the InstallationFee and MonthlyFee fields.
    3. Save and view the query in Datasheet View, and then widen each of the four columns to 22.
      Add a total row to the datasheet, and then sum the CountofClientName, SumOfInstallationFee, and SumOfMonthlyFee fields as shown in Figure 1.

      Save and close the Revenue query.

* Figure 1: Final Revenue Query in Datasheet View

 

The figure shows the final Revenue query in Datasheet View. Software Module is the Caption for the first field, the records are grouped by the first field, the ClientName field has been counted for each group, and the InstallationFee and MonthlyFee fields have been subtotaled for each group. A Total row has been added to the query datasheet. The total count of the ClientName field is 41, and the grand total of the InstallationFee field is $624,000.00 and the grand total of the MonthlyFee field is $12,000.00.

 

  1. Create a new query based on the Client table with the following details:
     
    1. Add the ClientName and Employees fields in that order.
    2. Sort the records in descending order on the Employees field.
    3. Return the top five records.
    4. Add <[Enter maximum number of employees] as a parameter prompt for the Employees field.
    5. Save the query and use EmployeeParameter as the query name.
    6. Run the query using 2000 as the parameter prompt, which should yield the results shown in Figure 2.

      Close the EmployeeParameter query.

* Figure 2: Final EmployeeParameter Query in Datasheet View

 

The figure shows the final EmployeeParameter query in Datasheet View. The query has two fields: ClientName and Employees. The query selects five records using 2000 as the parameter prompt.

 

  1. Create a new parameter query based on the Consultant table with the following details:
     
    1. Add the ConsultantID, FirstName, LastName, and Reside fields to the query grid in that order.
    2. Enter the following in the zoom dialog box for the LastName field: Like [Enter Consultant Last Name] & "*"
    3. Save the query using ConsultantParameter as the name, and then run the query to test it. Enter Co in the parameter prompt, and note that two records are returned. Close the query.
  2. Create a crosstab query based on the SoftwareComponentsByClient query with the following details:
     
    1. Add the ClientName field as the row heading.
    2. Add the SoftwareCode field as the column heading.
    3. Count the ComponentName field as the value.

      Save the query with the default name SoftwareComponentsByClient_Crosstab and close the query.
  3. Create a new query based on the Consultant table with the following details:
     
    1. Add the Reside and Salary fields in that order.
    2. Add the total row to the query grid, and then average the Salary field.
    3. Add criteria to the Reside field to return consultants located outside of the USA.
    4. Change the format of the Salary field to the Currency format.
    5. Save the query and use InternationalAvgSalaryByCountry as the query name.
    6. Run the query.

      Close the InternationalAvgSalaryByCountry query.
  4. Create a new query with the following details:
     
    1. Add the Client and ClientSoftware tables.
    2. Add the ClientName and ProjectStart fields from the Client table and the SoftwareCode field from the ClientSoftware table.
    3. Set the criteria for the SoftwareCode field to only include the software codes ONBD, RECR, and SCRE.
    4. Using the Expression Builder, create a new field named IsCorp.
    5. Use the iif function to populate the IsCorp field with "True" if the client name contains "Corporation" and "False" if not.
    6. Save the query as CorporateNewHireClients and run the query.

      Close the CorporateNewHireClients query.
  5. Use the Find Unmatched Query Wizard to find records in the Consultant table that contain no related records in the Client table by completing the following tasks:
     
    1. Ensure the ConsultantID field in each table contains matching data.
    2. Include the ConsultantID, FirstName, and LastName fields in the query results.
    3. Use UnassignedConsultants as the query name, and then view the results in Datasheet View as shown in Figure 3.

* Figure 3: Final UnassignedConsultants Query in Datasheet View

 

The figure shows the final UnassignedConsultants query in Datasheet View. The query has three fields—ConsultantID, FirstName, and LastName—and selects 27 total records.

 

Save and close any open objects in your database. Compact and repair your database, close it, and then exit Access. Follow the directions on the SAM website to submit your completed project.

esources Consultants

 

Option 1

Low Cost Option
Download this past answer in few clicks

19.99 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions