Calculate the number of days

Assignment Help Basic Computer Science
Reference no: EM13925136

Bay Traders, an international gourmet food distributor, is concerned about shipping delays over the last six months. Review the orders over the past six months and identify any order that was not shipped within 30 days. Each customer that falls within that time frame will be called to inquire about any problems the delay may have caused. In addition, an order summary and an order summary by country will be created.

Database File Setup

Open the food database, use Save As to make a copy of the database, and then use the new database to complete this exercise. You will replace an existing employee's name with your name.

a. Locate and open the file BAY_food.accdb by Microsoft Access.

b. Click the File tab, click Save Database As, and then type Lastname_Firstname.

c. Click Save.

d. Open the Employees table.

e. Replace Rachael Eliza with Eric Lewis, as well as the field "title courtesy". Click Save and then close the table.

f. At the database Tool menu and find/click Relationships. View the relations among the 8 tables and the data fields of each table.

DaysToship Query

You need to create a query to calculate the number of days between the data an order. As you create the query, run the query at several intervals so you can verify that the data looks correct. The result of your work will be a list of orders that took more than three weeks to ship. The salepeople will be calling each customer to see if there was any problem with their order.

a. Create a query using Query Design. Include the fields CompanyName, ContactName, ContactTitle, Phone, OrderID, LastName, OrderDate, and ShippedDate. Use the relationships window to determine which tables you need to get the 8 fields before you begin. Remember, only add the tables you need to the query.

b. Run the query, and then examine the records. Save the query as ShippingEfficiency by clicking Save Object As.

c. Back to the query, switch to Design View by clicking Home menu View Design View.

d. Add a calculated field named DaysToShip at column 9 by typing DaysToShip: ShippedDate -OrderDate, which calculates the number of days taken to fill each order.

e. Run the query, and then examine the results.

f. Save the query ShippingEfficiency again.

g. Switch back to the Design View. Add criteria to the field DaysToShip to limit the query results to include any order that took more than 30 days to ship (type >30 at the criteria row).

h. Run the query, and then use Save Object As to save the query by the name ShippingEfficiency_30Days+ (here you are creating a new query ShippingEfficiency_30Days+).

i. Switch back to the Design View the ShippingEfficiency_30Days+ query. Right Click at any place outside of the 3 tables at the panel showing the tables. Click Show Table at the drop down menu. Add table Order Details to the query.

j. Add the ProductID and Quantity fields. Sort the query by ascending OrderID. When the sales reps contact these customers, these two fields will provide useful information about the orders.

k. Run the query and view the final results. This list will be distributed to the sales reps so they can contact the customers. In design view, add the Sales Rep caption to the LastName field.

l. Then Run and Save the query as ShippingEfficiency_w_PQ_Info.

m. Close all the 3 ShippingEfficiency queries.

Order Summary Query

You need to create an order Summary that will show the total amount of each order in one column and the total discount amount in another column. This query will require four tables: Orders, Order Details, Products, and Customers. Query to determine if employees are following the employee discount policy. You will then determine which employees are following the company guidelines.

a. Create a query using Query Design and add the four tables above. Add the fields OrderID and OrderDate. Click Totals in the Show/Hide Group. Now you should see a new row "Total" at the lower panel.  The Total row for both fields should be Group By.

b. Switch to design View. In the third column, add a calculated field by typing  "ExtendedAmount: Quantity*UnitPrice". Format the calculated field as Currency. This calculation will calculate the total amount for each order. Change the Total row to Sum.

c. In the fourth column, add a calculated field: DiscountAmount: Quantity*UnitPrice*Discount. Format the calculated field as Currency. This will calculate the total discount for each order. Change the Total row to Sum.

d. Run the query. Save the query as Order Summary. Return to Design view.

e. Enter the expression Between 1/1/2012 And 12/31/2012 in the criteria of OrderDate. Change the Total row to Where. This is expression will display only orders that were created in 2012.

f. Run the query, view the results, and Save the query as Order Summary Year 2012.

g. Back the Design view. Add the Total Dollars caption to the ExtendedAmount field and add the Discount Amt caption to the

DiscountAmount field.

h. Run the query. Save and close the query.

Order Summary by Country Query

You need to create one additional query based on the Order Summary query you created in previous step. This new query will enable you to analyze the orders by country.

a. Select the Order Summary Year 2012 query, and then use Save Object As to create a new query named Order Summary Year 2012 by Country.

b. In Design view of the new query, replace the OrderID filed with the Country field.

c. Run the query, and then examine the summary records.

d. In Design view, change the sort order so that the country with the highest Total Dollars is first, and the country with the lowest Total Dollars is last.

e. Run the query and verify the results.

f. Save and close the query.

g. Now you should see six (6) queries in your database file. Close the database and exit Access.

Reference no: EM13925136

Questions Cloud

What are the challenges of credit risk analysis : What are the challenges of credit risk analysis? What do you mean by portfolio credit risk? How does it differ from firm (or obligor) credit risk?
What do you mean by credit risk culture : What do you mean by credit risk culture? Discuss its importance. Explain the importance of credit risk appetite. What are the factors to be considered while deciding credit risk appetite?
Provide your reasoning using ethical codes of conduct : Beside each situation below, place a check by the term(s) that best reflects your opinion of the behavior of the individual. Provide your reasoning for each of your answers using both the ethical codes of conduct and the information on computer cr..
How credit risk management done in financial intermediaries : Briefly elucidate how credit risk management is done in financial intermediaries. Explain whether a financial intermediary can shy away from taking credit risk, i.e. be credit risk averse? Please elaborate.
Calculate the number of days : Bay Traders, an international gourmet food distributor, is concerned about shipping delays over the last six months. Review the orders over the past six months and identify any order that was not shipped within 30 days.
What is difference between portfolio risk and obligor risk : What is the difference between portfolio risk and obligor risk? What is the advantage of bifurcation of the firm credit risk into business risk and financial risk?
Industry-mandated : a single basis (or activity base) should be used for all costs.GAAP requires the use of industry-mandated standardized activity bases.
What is the expected return on the loan : The customer is expected to draw down 80 percent of the commitment at the beginning of the year. a. What is the expected return on the loan without taking future values into consideration?
Can operational risk influence financial risk and vice versa : How understanding of the various levels of operating risk and financial risk influence credit risk analysis. Can operational risks influence financial risks and vice versa?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd