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

  Uml state diagram situations in chess game

You are required to draw a UML state diagram to represent the following situations in Chess game.

  Evaluate following integrals using simpson rule

Evaluate following integrals using simpson's rule and corrected simpson's rule (or richardson extrapolation in case the corrected simpson's is not applicable). In each case, use n = 2,4,8,16,32.

  A research paper on the history of major league baseball

A research paper on the history of Major League baseball and the use of steroids, Performance enhancing drugs and how major league star Alex Rodriguez on his decline of baseball using PED's. need a 5-6 page double space 1200-1500 word count. at least..

  Consider the social effects of information technologies

Consider the social effects of information technologies.

  How to make components of system user-friendly

How do components of your computer system interact within system? What improvements or additions to your system do you think would benefit you or make system more user-friendly? Why?

  Class to describe the product

For this assignment, you will create a class to describe the product that is being ordered. You will then modify your code to create an instance of this class and utilize it in the ordering process.

  Relational database with ms access

Create a list that holds the student grade (A, A-, B+, ...), modify the appropriate table to accept only the grades in the list (you need to explain why you selected the above table record to the student grade).

  Examine the steps and types of testing and quality assurance

Examine the steps and types of testing and quality assurance needed in software development.

  Discuss and explain the emerging information needs

Discuss and explain the emerging information needs

  What are some differences from the new version that make

You have now become familiar with using the VMware ESXI and vCenter applications. You have also just completed an upgrade to vSphere 5, so while much of the tools and interfaces look similar, nuances and procedures have changed somewhat. When deployi..

  Requirements analysis phase of your development process

Part of the requirements analysis phase of your development process

  Business software applications

Business software applications (apps) are computer programs that support a specific task or business process. Describe what you think an application program is. What are some of your favorite apps, why?

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