access cap

  • Access 365/2021 Capstone Level 1 Working With A Sales Database

    Save Time On Research and Writing
    Hire a Pro to Write You a 100% Plagiarism-Free Paper.
    Get My Paper

    Skills needed to complete this project:

    • Create a new record in a table
    • Apply date formatting to a field by modifying the field Format property
    • Adjust table column widths
    • Create and save a new table
    • Add a new field to a table
    • Create a lookup field using values from another table
    • 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 new blank form in Layout view
    • Add fields to a blank form from Layout view
    • Resize controls in a form
    • Delete a field from a table
    • Delete a record from a table
    • Find and replace data in a table
    • Rename a field in a table
    • 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
    • Add numeric criteria to a query
    • Use the Report Wizard to create a new report

    Steps to complete this project:

    Mark the steps as checked when you complete them.

    1. Open the start file AC2021-Capstone-Level1.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. Open the PopcornSales table and add three records to the table with the following data. (Hint: The first field in the table, SaleID, is an AutoNumber field, so there is nothing to enter for each record.)SaleDateSaleLocationPaymentType11/1/2023Vermont AvenueCredit Card11/1/2023American UniversityCash11/1/2023GeorgetownCash
    4. Switch to Design view and modify field properties.Apply the Long Date format to the SaleDate field. Note: If your version of Access does not include the day of the week in the long date format, use the long date format anyway.Switch back to Datasheet view and adjust the width of the SaleDate field so the entire long date is visible. Save the table when prompted.Close the table. Save the table when prompted.
    5. Create a new table to capture the details for each sale.The first field should be an AutoNumber field named: SaleDetailIDThe second field should be a lookup field named: SaleID The lookup field should be limited to values in the SaleID field of the PopcornSales table. Include only the SaleID in the lookup field. Enable data integrity by restricting deletions.Save the table as: SaleDetailsAdd 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.Add a Number field to the right of the Item field. Name the field: QuantitySet the default value for the Quantity field to: 1Add 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.)SaleIDItemQuantity1Chocolate31Truffle22Old Bay3Close the table.
    6. Use the Form Wizard to create a new form for inputting sales data.Include all the fields from the PopcornSales table.Include the Item and Quantity fields from the SaleDetails table.View the form data by records in the PopcornSales table with related records in the SaleDetails table displayed in a subform.The subform should be displayed as a Datasheet.Name the main form: PopcornSalesFrm and name the subform: SaleDetailsSubform (Hint: Be sure to remove the space between SaleDetails and Subform in the subform name suggested by Access.)Open the form in Form view to review your work.Navigate to the record in the main form for SaleID 3 and enter sale details in the subform as follows:Item: Chocolate, Quantity: 2Item: Old Bay, Quantity: 3Close the form.
    7. Open the Items table and modify the table fields as follows:Change the data type for the Price field to: CurrencySet the Default Value property for the Price field to: 9Autofit the width of the ItemName field.Save the changes and close the Items table.
    8. Create a Single Record form using the Items table as the record source. Save the form with the name: SingleRecordFrm and then close the form.
    9. Begin a new blank form in Layout view.From the Locations table, add the LocationID, LocationDescription, and Comments fields in that order, at the left side of the form.Widen the labels so LocationDescription is completely visible.Save the form with the name: LocationsFrm and then close the form.
    10. Open the SalesArchive table.Delete the Total field.Find the record with the ID 500 and delete it. (Hint: It is the last record in the table.)Find and replace each ItemID value OLDB with OLDB005.Rename the TotalSal field to: SaleTotalSave and close the table.
    11. Use the Relationships window to create a relationship between the Items and SalesArchive tables.Show the SalesArchive table in the Relationships window.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.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.Close the Relationships window and save the changes.
    12. Create a query to display sales of Old Bay flavored popcorn from the SalesArchive table.Include the following fields in this order: the SaleDate, Quantity, and SaleTotalfields from the SalesArchive table and the ItemName field from the Items table.Add the criteria Old Bay to the ItemName field.Run the query to check your work. (Hint: There should be 32 records in the query results.)Save the query as OldBayQry and then close the query.
    13. Create a query to display sales greater than $55.00 from the SalesArchive table.Include the following fields in this order: the SaleDate from the SalesArchive table, ItemName field from the Items table, and SaleTotal from the SalesArchive table.Add criteria to the SaleTotal field to return only sales greater than $55.00. Run the query to check your work. (Hint: There should be 10 records in the query results.)Specify the sort order in the query, so the results always display the records with the highest values in the SaleTotal field first.Save the query as HighDollarSalesQry and close it.
    14. Use the Report Wizard to create a report based on the NewFlavorsQry query.Include the fields from the NewFlavorsQry query in this order: ItemName, SaleDate, and Quantity.View the data by the Items table.Do not add any additional grouping.Sort the detail records by sale date.Use the Stepped layout in Portrait orientation.Name the report NewFlavorRpt and then view the report to check your work.
    15. Save and close any open database objects and then close the database.
    16. Upload and save your project file.

    Still stressed with your coursework?
    Get quality coursework help from an expert!