Question: Steps to complete this project: Mark the steps as checked when you complete them. 1 . Open the start file AC 2 0 1 9
Steps to complete this project:
Mark the steps as checked when you complete them.
Open the start file ACCapstoneLevel NOTE: If necessary, enable active content by clicking the Enable Content button in the Message Bar.
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
Create a new table from scratch to track sales.
a The first field should be an AutoNumber field named: SaleID
b The second field should be a Date & Time field named: SaleDate
c 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 itHint: Hide the key column. Enable data integrity by restricting deletions. Name this field: SaleLocation
d Save the table with the name: Sales
Switch to Design view and modify field properties.
a Add an input mask to the SaleDate field. Use the Short Date input mask. Do not change any other input mask options.
b Apply the Long Date format to the SaleDate field.
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.
a Name the field: PaymentType
b The lookup field should display these values in this order:
Cash
Credit Card
Gift Card
Store Credit
c Limit data entry to values in the list. Do not allow multiple values.
d Save the table.
Switch back to Datasheet view to add sample records to the Sales table.
a 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.
b Adjust the width of the SaleDate field so the entire long date is visible.
c Save and close the table.
Create a new table to capture the details for each sale.
a The first field should be an AutoNumber field named: SaleDetailID
b The second field should be a lookup field named: SaleID The lookup field should be limited to values in
b
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.
c
Save the table as: SaleDetails
d
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.
e
Add a Number field to the right of the Item field. Name the field: Quantity
f
Set the default value for the Quantity field to:
g
Add three records to the table with the following data. Hint: Remember, the first field in the table,
SaleDetaillD, is an AutoNumber field, so there is nothing to enter for each record.
h
Close the table.
Use the Form Wizard to create a new form for inputting sales data.
a Include all the fields from the Sales table.
b Include the Item and Quantity fields from the SaleDetails table.
c View the form data by records in the Sales table with related records in the SaleDetails table displayed in a
subform.
d The subform should be displayed as a Datasheet.
e 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.
f
Open the form in Form view to review your work.
g
Navigate to the record in the main form for SaleID and enter sale details in the subform as follows:
Item: Original Blend, Quantity:
Item: Old Bay, Quantity:
h
Close the form.
Open the Items table and modify the table fields as follows:
a
Set the Default Value property for the Price field to:
b
Change the data type for the Price field to: Currency
c
Autofit the width of the ItemName field.
d
Save the changes and close the Items table.
Create a Single Record form using the Items table as the record source. Save the form with the name:
SingleRecordForm
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.
a
Create a Split Form based on the Items table.
b
b
Name the form: SplitForm
Begin a new blank form in Layout view.
a
From the Locations table, add the LocationID, LocationDescription, and Comments fields in that order, at
the left side of the form.
b Widen the labels so that they are just wide enough for LocationDescription to be completely visible.
c From the Locations table, add the OpenTime field to the right of the LocationID controls.
d Reduce the width of the OpenTime bound control so that the control is just wide enough to display the time
data.
e From the Locations table, add the CloseTime field to the right of the OpenT
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
