Chat with us, powered by LiveChat Working with a Sales Database Skills needed to complete this proje - EssayAbode

Working with a Sales Database Skills needed to complete this proje

Access 365/2019 Capstone Level 3 Working with a Sales Database

Skills needed to complete this project:

  • Create and save a new table
  • Add a new field to a table
  • Create a lookup field using values from another table
  • Apply an input mask to a field in a table
  • Apply date formatting to a field by modifying the field Format property
  • Create a lookup field using list values
  • Create a new record in a table
  • Adjust table column widths
  • Set a default value for a field in a table
  • Use the Form Wizard to create a new form
  • Change the data type of a field
  • Create a Single Record form based on a table
  • Create a Split form based on a table
  • Create a new blank form in Layout view
  • Add fields to a blank form from Layout view
  • Resize controls in a form
  • Move controls in a form
  • Add a logo to a form header
  • Delete a field from a table
  • Import a table from an Access database
  • Rename a table
  • Delete a record from a table
  • Find and replace data in a table
  • Rename a field in a table
  • Import records from an Excel worksheet
  • Create a one-to-many relationship between two tables
  • Enforce referential integrity in a one-to-many relationship
  • Create a simple select query to combine fields from multiple tables
  • Add text criteria to a query
  • Hide a field in a query
  • Use OR in a query
  • Add numeric criteria to a query
  • Specify the sort order in a query
  • Use AND in a query
  • Add date criteria to a query
  • Add a calculated field to a query
  • Create a parameter query
  • Use the Report Wizard to create a new report
  • Group records in a report
  • Add totals to a report
  • Create a new blank report
  • Add fields to a blank report from Layout view
  • Resize controls in a report
  • Arrange controls in a report
  • Add the date to a report header
  • Add page numbers to a report footer

Important: Download the resource files needed for this project from the Resources link. If they download in a zipped folder, make sure to extract the files after downloading the resources zipped folder. Visit the SIMnet instant help for step-by-step instruction.

IMPORTANT: If you are a Canadian user, be sure to verify that your browser and Microsoft Office use the same country settings. See here for a Help topic on how to change your settings.

  1. Open the start file AC2019-Capstone-Level3.
    NOTE: If necessary, enable active content by clicking the Enable Content button in the Message Bar.
  2. The file will be renamed automatically to include your name. Change the project file name if directed to do so by your instructor, and save it.
  3. Create a new table from scratch to track sales.
    1. The first field should be an AutoNumber field named: SaleID
    2. The second field should be a Date & Time field named: SaleDate
    3. The third field should be a lookup field. (Hint: Use the Lookup Wizard to create the new field.) It should display the LocationDescription field from the Locations table. Values in the lookup should be sorted by values in the LocationDescription field. Include the LocationID field in the lookup, but do not display it. (Hint: Hide the key column.) Enable data integrity by restricting deletions. Name this field: SaleLocation
    4. Save the table with the name: Sales
  4. Switch to Design view and modify field properties.
    1. Add an input mask to the SaleDate field. Use the Short Date input mask. Do not change any other input mask options.
    2. Apply the Long Date format to the SaleDate field.
  5. Add a new lookup field as the last field in the Sales table to track payment type. (Hint: Use the Lookup Wizard to create the new field.)
    1. Name the field: PaymentType
    2. The lookup field should display these values in this order:
      Cash
      Credit Card
      Gift Card
      Store Credit
    3. Limit data entry to values in the list. Do not allow multiple values.
    4. Save the table.
  6. Switch back to Datasheet view to add sample records to the Sales table.
    1. Add three records to the table with the following data. (Hint: Remember, the first field in the table, SaleID, is an AutoNumber field, so there is nothing to enter for each record.)
      SaleDateSaleLocationPaymentType10/01/2019GeorgetownCredit Card10/01/2019George Washington UniversityCash10/01/2019George Washington UniversityCash
    2. Adjust the width of the SaleDate field so the entire long date is visible.
    3. Save and close the table.
  7. Create a new table to capture the details for each sale.
    1. The first field should be an AutoNumber field named: SaleDetailID
    2. The second field should be a lookup field named: SaleID The lookup field should be limited to values in the SaleID field of the Sales table. Include only the SaleID in the lookup field. Enable data integrity by restricting deletions.
    3. Save the table as: SaleDetails
    4. Add a third field to the far right of the table. Name this field: Item This is another lookup field. Include all the fields from the Items table. Sort the lookup items by values in the ItemName field. Hide the primary key field. Enable data integrity by restricting deletions.
    5. Add a Number field to the right of the Item field. Name the field: Quantity
    6. Set the default value for the Quantity field to: 1
    7. Add three records to the table with the following data. (Hint: Remember, the first field in the table, SaleDetailID, is an AutoNumber field, so there is nothing to enter for each record.)
      SaleIDItemQuantity1Chocolate62Sea Salt and Caramel43Sea Salt and Caramel5
    8. Close the table.
  8. Use the Form Wizard to create a new form for inputting sales data.
    1. Include all the fields from the Sales table.
    2. Include the Item and Quantity fields from the SaleDetails table.
    3. View the form data by records in the Sales table with related records in the SaleDetails table displayed in a subform.
    4. The subform should be displayed as a Datasheet.
    5. Name the main form: SalesForm and name the subform: SaleDetailsSubform (Hint: Be sure to remove the space between SaleDetails and Subform in the subform name suggested by Access.)
    6. Open the form in Form view to review your work.
    7. Navigate to the record in the main form for SaleID 3 and enter sale details in the subform as follows:
      Item: Original Blend, Quantity: 4
      Item: Old Bay, Quantity: 6
    8. Close the form.
  9. Open the Items table and modify the table fields as follows:
    1. Set the Default Value property for the Price field to: 7
    2. Change the data type for the Price field to: Currency
    3. Autofit the width of the ItemName field.
    4. Save the changes and close the Items table.
  10. Create a Single Record form using the Items table as the record source. Save the form with the name: SingleRecordForm
  11. Create a form to display records from the Items table in two formats with the Single Record form at the top and a Datasheet form at the bottom.
    1. Create a Split Form based on the Items table.
    2. Name the form: SplitForm
  12. Begin a new blank form in Layout view.
    1. From the Locations table, add the LocationID, LocationDescription, and Comments fields in that order, at the left side of the form.
    2. Widen the labels so that they are just wide enough for LocationDescription to be completely visible.
    3. From the Locations table, add the OpenTime field to the right of the LocationID controls.
    4. Reduce the width of the OpenTime bound control so that the control is just wide enough to display the time data.
    5. From the Locations table, add the CloseTime field to the right of the OpenTime controls.
    6. Reduce the width of the CloseTime bound control so the control is just wide enough to display the time data.
    7. Move the OpenTime and CloseTime controls so they are next to the LocationDescription controls instead.
    8. From the Locations table, add the Days field to the form layout in the empty space to the right of the LocationID controls, above the OpenTime controls.
    9. Add a logo to the form header. Use this file, located with the resources for this project: toptCornLogo-small.png
    10. Save the form with the name: LocationsForm
  13. Close the forms.
  14. Import the StoreSales table from the SalesArchive Access database (downloaded from the Resources link). Do not open the SalesArchive database.
  15. Rename and open the StoreSales table. Verify that you are working in the database you downloaded from Access, not the SalesArchive database.
    1. Rename the table: SalesArchive
    2. Delete the Total field.
    3. Find the record with the ID 500 and delete it. (Hint: It is the last record in the table.)
    4. Find and replace each ItemID value OLDB with OLDB005.
    5. Rename the TotalSal field to: TotalSale
    6. Save and close the table.
  16. Import records from the Excel file NewSalesData (downloaded from the Resources link) and append a copy of the records to the SalesArchive table.
  17. Use the Relationships window to create a relationship between the Items and SalesArchive tables.
    1. Show the SalesArchive table in the Relationships window.
    2. Create a one-to-many relationship between the ItemID field in the Items table and the ItemID field in the SalesArchive table. You may rearrange the tables in the Relationships window if you want.
    3. Enforce referential integrity so a record cannot be deleted or altered in the Items table if it would cause a conflict with the data in the SalesArchive table.
    4. Close the Relationships window and save the changes.
  18. Create a query to display sales of Truffle flavored popcorn from the SalesArchive table.
    1. Include the following fields in this order: the SaleDate, Quantity, and TotalSale fields from the SalesArchive table and the ItemName field from the Items table.
    2. Add the criteria Truffle to the ItemName field.
    3. Hide the ItemName field in the query results. Run the query to check your work. (Hint: There should be 49 records in the query results.)
    4. Save the query as TruffleQry and then close the query.
  19. Create a query to display sales of Old Bay or Truffle flavored popcorn from the SalesArchive table
    1. Include the following fields in this order: the SaleDate, Quantity, and TotalSale fields from the SalesArchive table and the ItemName field from the Items table.
    2. Add the criteria Old Bay or Truffle to the ItemName field. Run the query to check your work. (Hint: There should be 114 records in the query results.)
    3. Save the query as NewFlavorsQry and then close the query.
  20. Create a query to display sales for more than $100.00 from the SalesArchive table.
    1. Include the following fields in this order: the SaleDate from the SalesArchive table, ItemName field from the Items table, and TotalSale from the SalesArchive table.
    2. Add criteria to the TotalSale field to return only sales greater than 100.
    3. Specify the sort order in the query, so the results always display the records with the highest values in the TotalSale field first. Run the query to check your work. (Hint: There should be 15 records in the query results.)
    4. Save the query as HighDollarSalesQry and close it.
  21. Create a query to display sales for more than $100 of Old Bay flavored popcorn from the SalesArchive table
    1. Include the following fields in this order: the ItemName field from the Items table and the SaleDate, Quantity, and TotalSale fields from the SalesArchive table.
    2. Add the criteria to the query to return only records where the ItemName is Old Bay and the TotalSale is greater than 100. Run the query to check your work. (Hint: There should be 3 records in the query results.)
    3. Save the query as HighDollarOldBayQry and then close the query.
  22. Create a query to display sales of Original Blend popcorn on July 4, 2019 from the SalesArchive table.
    1. Include the following fields in this order: the ItemName field from the Items table and the SaleDate and Quantity fields from the SalesArchive table.
    2. Add the criteria to the query to return only records where the ItemName is Original Blend and the Date is July 4, 2019. Run the query to check your work. (Hint: There should be 3 records in the query results.)
    3. Save the query as July4OriginalBlendQry and then close the query.
  23. Create a query to calculate the per unit price of the archived sales.
    1. Include the following fields in this order: the ItemName field from the Items table and the Quantity and TotalSale fields from the SalesArchive table.
    2. Add a calculated field to the far right of the query to calculate the value of the TotalSale divided by Quantity. Name the field: CostPerUnit Run the query to check your work. (Hint: There should be 240 records in the query results.)
    3. Save the query as CostPerUnitQry and then close the query.
  24. Create a parameter query to display sales from a specific date.
    1. Include these fields in this order: the SaleDate field from the SalesArchive table, the ItemName field from the Items table, the Quantity and TotalSale fields from the SalesArchive table.
    2. Use the prompt: Enter the sale date:
    3. Run the query to check your work. Enter the date 7/4/2019 when prompted. (Hint: There should be 9 records in the query results.)
    4. Save the query as ByDateParameterQry and close it.
  25. Use the Report Wizard to create a report based on the NewFlavorsQry query.
    1. Include the fields from the NewFlavorsQry query in this order: ItemName, SaleDate, Quantity, and TotalSale.
    2. View the data by the Items table.
    3. Do not add any additional grouping.
    4. Sort the detail records by sale date.
    5. Use the Stepped layout in Portrait orientation.
    6. Name the report NewFlavorRpt and then view the report to check your work.
  26. Switch to Layout view and add more grouping and totals to the NewFlavorRpt report.
    1. Display the Group, Sort, and Total pane and add new grouping by values in the SaleDate field by Month.
    2. Add totals to each group to calculate the Sum of values in the TotalSale field.
    3. Save and close the report.
  27. Create a new report from scratch in Layout view.
    1. From the SalesArchive table, add the SaleDate field to the report. Add these fields in order to the right of the SaleDate controls: ItemName from the Items table, and Quantity and TotalSale from the SalesArchive table.
    2. Resize the ItemName controls so all the item names are visible. (Hint: Widen the ItemName column so the entire Sea Salt and Caramel name is visible.)
    3. Add the ItemID field from the Items table. Move the ItemID controls so they appear to the left of the ItemName controls.
    4. Add the current date to the report header. Use this date format: Thursday, February 25, 2019. Do not include the time.
    5. Add page numbers centered in the report footer. Use this page number format: Page N of M
    6. Save the report as: SalesArchiveRpt
  28. Save and close any open database objects and then close the database.
  29. Upload and save your project file.
  30. Submit project for grading.
ItemID ItemName Price
CARA002 Sea Salt and Caramel 8
OLDB005 Old Bay 9
ORIG001 Original Blend 7
TRUF003 Truffle 10
CHOC008 Chocolate 9
LocationID LocationDescription Comments OpenTime CloseTime Days
FARR Farragut Square 1899-12-30 1899-12-30 M-F
Gtown Georgetown 1899-12-30 1899-12-30 Th-Sa
GW George Washington University 1899-12-30 1899-12-30 Th-Sa
KSt K Street 1899-12-30 1899-12-30 M-F
Tysons Tysons Corner Store Our store location at Tysons Corner near the mall 1899-12-30 1899-12-30 M-Su

Related Tags

Academic APA Assignment Business Capstone College Conclusion Course Day Discussion Double Spaced Essay English Finance General Graduate History Information Justify Literature Management Market Masters Math Minimum MLA Nursing Organizational Outline Pages Paper Presentation Questions Questionnaire Reference Response Response School Subject Slides Sources Student Support Times New Roman Title Topics Word Write Writing