Access practical exercise, Exercises of Computer science

create a database in microsoft access

Typology: Exercises

2019/2020

Uploaded on 01/27/2020

Matty777
Matty777 🇹🇿

5

(2)

2 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Microsoft Access - Exercise
Follow the directions below to create an Address Database. Remember that
there is usually more than one way to do something. If you think of a
different way to do a task, try it! If it doesn't work, you can always use the
Undo button. Please read through each direction before performing the
action.
Starting Access
1. Launch the Access program by double clicking on the Access icon on the
desktop. A Microsoft Access window will appear.
2. Click “New ” on the file menu or click the new file icon on the toolbar.
3. In the pane on the right side, click Blank database.
4. The File New Database Window will appear.
5. Type the file name Address Book.
6. Click the little triangle to the right of the “Save in: text box”.
7. Click 3 ½ Floppy (A:) on the drop-down menu (or Desktop if you do
not have a floppy disk).
8. Click Create.
Creating a Table
1. Click the Tables tab in the database window.
2. Click New.
3. The New Table Wizard appears.
4. Select Table Wizard and click OK.
5. Select the Personal toggle located above the Sample Tables column.
Select Addresses from the Sample Tables column (left click once to
highlight.)
6. Select FirstName from the Sample Fields column (click once to
highlight the selection.) Click the right pointing arrow button or double
click the selection to add it to the Fields in My New Table column.
7. Repeat step #6 with LastName, Address, City, State, Postal Code,
and Home Phone Number from the Sample Fields column.
8. Click Next.
9. The Table Wizard offers the name “Addresses” for your table; we’ll keep
that name. (On this same screen, there is a "YES" default for setting a
Primary Key). Click Next.
10. Click Finish and view your new table.
11. Close the “ Addresses” table (Click the X in the top right corner of the
table window.)
Entering Table Data
1. Click the Tables tab in the database window.
pf3
pf4

Partial preview of the text

Download Access practical exercise and more Exercises Computer science in PDF only on Docsity!

Microsoft Access - Exercise

Follow the directions below to create an Address Database. Remember that there is usually more than one way to do something. If you think of a different way to do a task, try it! If it doesn't work, you can always use the Undo button. Please read through each direction before performing the action. Starting Access

  1. Launch the Access program by double clicking on the Access icon on the desktop. A Microsoft Access window will appear.
  2. Click “ New ” on the file menu or click the new file icon on the toolbar.
  3. In the pane on the right side, click Blank database.
  4. The File New Database Window will appear.
  5. Type the file name Address Book.
  6. Click the little triangle to the right of the “Save in: text box”.
    1. Click 3 ½ Floppy (A:) on the drop-down menu (or Desktop if you do not have a floppy disk).
  7. Click Create. Creating a Table
  8. Click the Tables tab in the database window.
  9. Click New.
  10. The New Table Wizard appears.
  11. Select Table Wizard and click OK****.
  12. Select the Personal toggle located above the Sample Tables column. Select Addresses from the Sample Tables column (left click once to highlight.)
  13. Select FirstName from the Sample Fields column (click once to highlight the selection.) Click the right pointing arrow button or double click the selection to add it to the Fields in My New Table column.
  14. Repeat step #6 with LastName , Address , City , State , Postal Code , and Home Phone Number from the Sample Fields column.
  15. Click Next.
  16. The Table Wizard offers the name “Addresses” for your table; we’ll keep that name. (On this same screen, there is a "YES" default for setting a Primary Key). Click Next.
  17. Click Finish and view your new table.
  18. Close the “ Addresses” table (Click the X in the top right corner of the table window.) Entering Table Data
  19. Click the Tables tab in the database window.
  1. Double click Addresses to open the table we have created. In the table fields, ignore the one labeled Addresses ID for now.
  2. Press the right arrow key or tab key and enter these field values, pressing enter after each value: First NameLast NameAddress City State ZIPCode Phone # Betty Bop 123 Apple Way HoustonTX 77333 (713)555- Daffy Duck 5492 Hill St HoustonTX 77009 (713)555- Mickey Mouse 902 East Lucky Ave Humble TX 77398 (281)555-
  3. Click Save and close the table. Creating a Form
  4. Click the Forms tab in the database window.
  5. Click New.
  6. The New Form Window appears.
  7. Select Form Wizard and click OK.
  8. Click the two right pointing arrows button to move all the fields over to the right side of the window.
  9. Select Address ID and click the left pointing arrow button to move it back over to the Available Field side of the window.
  10. Click Next.
  11. Select Columnar ; Click Next. Select Standard style ; Click Next.
  12. The wizard offers “Addresses” for the form title, which is fine.
  13. Click Finish and view the form.
  14. Click the right pointing arrow button at the bottom of the form window (next to the Record: box). Click this arrow two more times and notice the entries. The form should be empty on the fourth record.
  15. Click Save and close the form. Entering Data into a Form In Access, you can enter data into Tables or Forms. Some find it easier to enter and view data in forms rather than tables. Let’s use the form we just created to enter more data.
  16. Click the Forms tab in the database window
  17. Double click “Addresses” to open the form.
  18. Click the right pointing arrow with a star button at the bottom of the form. The form should be on the fourth record, which is blank. Enter the following field values. Press the enter key or tab key after each entry to move to the next cell.
  1. At the bottom half of the screen there is a grid. Under the City column and along the Criteria row, we want to type: Houston in that cell. We are making a query, which looks for only those records that include Houston – not the friends that live in Humble, for example.
  2. Click the Run tool (red exclamation point) on the tool bar to get the results of the query.
  3. The records that include Houston are displayed. Now we know who to call and their phone number.
  4. Click Save and close the database window.
  5. Close Access.