Design tables import data from access and excel

Assignment Help Database Management System
Reference no: EM131321993

Hotel Reservations

Project Description:

The main portion of the resort is the hotel. The hotel wants to store information about hotel guests, reservations, and rooms. You will design tables, import data from Access and Excel, and create relationships. Then you will be able to create queries and reports from the data.

Instructions:

For the purpose of grading the project you are required to perform the following tasks:

Instructions

1 Start Access. Open the downloaded file named a01_grader_h1.accdb. Save the file with the name a01_grader_h1_LastFirst, replacing LastFirst with your name. In the Security Warning bar, click Enable Content.

2 Import a table from the downloaded Access database a01_grader_h1_Guest.accdb selecting the tblGuests table. Do not save the import steps.

3 Open tblGuests. In record 25, change GuestLastName to Student and GuestFirstName to Access. Close the table.

4 Create a new table in Design view. This table will store reservations. Add the following fields, data types, and descriptions, in this order. Change field sizes as noted.

Field Name             Data Type          Description  Field Size/Format
ReservationID        AutoNumber      A unique identifier for the reservationLong Integer
GuestID                Number            Theguest id from tblGuests (foreign key)Long Integer
RoomNumber         Short Text                                  30
CheckInDate          Date/Time                                   Short Date
NightsStay            Number                                       Integer
NumberOfGuests   Number                                       Integer

Assign ReservationID as primary key. Save the new table as tblReservations. Close the table.

5 Import the downloaded file a01_grader_h1_Reservations.xlsx from Excel, using the tblReservations worksheet and appending it to tblReservations. The Excel column headers match the Access field names so you can use them. Do not save the import steps.

6 Use the Form tool to create a form for tblReservations, and then save the form as frmReservations_aStudent.

7 Enter the following data into the append record in frmReservations_aStudent.
GuestID = 25, RoomNumber = 105, CheckInDate = 4/20/2015, NightsStay = 8, and NumberOfGuests = 1. Close the form.

8 Create a new table in Design view. This table will store information about the hotel rooms. Add the following fields, data types and field sizes in this order:

Field Name           Data Type      Field Size
RoomNumber       Short Text     30
RoomType           Short Text     20

Assign RoomNumber as the primary key. Save the new table as tblRooms. Close the table.

9 Import the hotel rooms from the downloaded text file a01_grader_h1_Rooms.csv, appending it to tblRooms. Ensure that Delimited, Comma, and First Row Contains Field Names are selected. Do not save the import steps.

10 Open the Relationships window. Add tblGuests, tblReservations, and tblRooms. Create a one-to-many relationship between GuestID in tblGuests and GuestID in tblReservations. Enforce referential integrity. Do not cascade update or cascade delete.

11 Create a one-to-many relationship between RoomNumber in tblRooms and RoomNumber in tblReservations. Enforce referential integrity. Do not cascade update or cascade delete. Save the changes.

12 Create a relationship report, saving it with the report name Relationships for a01_grader_h1. Close the report and close the Relationships window.

13 Use the Simple Query Wizard to create a query. The query results should list GuestID, GuestFirstName, GuestMiddleInital, GuestLastName, CheckInDate, NightsStay, and RoomType (in that order). Save your query as qryMyRservations_aStudent and then run the query.

14 In Design view, enter criteria to select the guest with GuestID = 25. Sort in ascending order by CheckInDate. Run and then save the query. Close the query.

15 Create a report using the Report Wizard. Add ReservationID, CheckInDate, NightsStay, and RoomType (in that order). View by tblRooms. Sort by CheckInDate and ReservationID in ascending order (in that order). Accept all other defaults. Name your report rptReservations_aStudent and then finish the wizard.

16 View the report in Layout view. Modify the report title to be Reservations Report by A Student. Save and then close the report.

17 Close the database, and submit as directed.

Attachment:- Data.rar

Reference no: EM131321993

Questions Cloud

What are quasi experimental research designs : What are quasi-experimental research designs, and when are they used in behavioral research? What advantages and disadvantages do they have in comparison to experimental research?
Massless spring of spring constant : At t = 0 a block with mass M = 5 kg moves with a velocity v = 2 m/s at position xo = -.33 m from the equilibrium position of the spring. The block is attached to a massless spring of spring constant k = 61.2 N/m and slides on a frictionless surfac..
Compute c on both a single core shared memory : Assume that we are going to compute C on both a single core shared memory machine and a 4-core shared-memory machine. Compute the speedup we would expect to obtain on the 4-core machine, ignoring any memory issues.
What are time series research designs : What types of independent variables can be used in participant-variable research designs, and what conclusions can and cannot be drawn from their use?
Design tables import data from access and excel : The main portion of the resort is the hotel. The hotel wants to store information about hotel guests, reservations, and rooms. You will design tables, import data from Access and Excel, and create relationships.
What specific sex or gender-related expectations do you have : What specific sex or gender-related expectations do you have regarding this population? For example, how would you describe the roles of men and women in this group? Any key differences in how men and women in this group might interact with the he..
Radians does the wheel turn : The angular velocity of a 755 g wheel 15.0 cm in diameter is given by the equation ω(t) = (2.00 rad/s2) t + (1.00 rad/s4) t3. (a) Through how many radians does the wheel turn during the first 2.00 s of its motion?
Magnitude of the angular acceleration of the fan : When a 2.75 kg fan, having blades 18.5 cm long, is turned off, its angular speed decreases uniformly from 10.0 rad/s to 6.30 rad/s in 5.00 s. (a) What is the magnitude of the angular acceleration of the fan?
Develop factorial design that could test research hypothesis : Develop a 2 × 2 factorial design that could test this research hypothesis.- What type of design is the research? What pattern of data is expected, and what conclusions could be drawn if the data come out as expected?

Reviews

Write a Review

Database Management System Questions & Answers

  How can you find the minimal key of relational schema

How can you find the minimal key of relational schema? What do you understand by dependency preservation?

  Propose enhanced database management strategy

Propose an efficient data structure that may hold the tour operator's data using a normalization process. Describe each step of the process that will enable you to have a 2nd Normal Form data structure.

  What is the drawback of using end-to-end security

You will find an abundance of materials on this subject within the databases located within IEEE & ACM digital libraries. But don't forget that especially in the Networking technologies RFC's and other related standards are the most authoritative ..

  Describes the movement of inventory

Create a decision table that describes the movement of inventory and draw a decision tree that describes the merchandise inventory management process.

  Machining activity cost pool

Determine the total amount of supervisory wages and factory utilities costs that would be allocated to the Machining activity cost pool.

  Create and populate tables within a database using ms access

Departments all have department IDs, department names, and a department description, and a department manager.

  Prepare an er diagram for the database

Prepare an ER diagram for the database described below(using crows foot notation). Be sure to identify all required entities, attributes, and relationships (including cardinalities). State any assumptions you make, and indicate a primary key for e..

  Triggers important in database systems

What are triggers used for, and why are they important in database systems? Provide an example of a situation where a trigger would be appropriate.

  Demonstrate operating system troubleshooting techniques

Imagine you are a senior systems administrator who has recently been given the task to help improve security of your company's IT infrastructure after a series of network security breaches.

  Identify and explain the default logins

Identify and explain the default logins or user accounts for one of the database vendors discussed in the chapter - Create and document a written password policy to be given out to database users in an organization.

  Design and create a database for an airline

CSG1207/CSI5135 Systems and Database Design. You are required to design and create a database for an airline. The database must contain details of the airline's planes, flights, flight instances and staff, as well as supporting data as detailed bel..

  Baxter aviation database

ER diagram for the Baxter Aviation database

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