You are on page 1of 29

ISM 360 Project 5 - Using Microsoft Access:

Tables and Queries (30 points)

Creating Tables in Access (P5-a) 15 points

Getting to Know the Program

Starting Microsoft Access


Like most applications, Access can be started in several ways, such as clicking the Microsoft Access
shortcut in the Windows Start Menu. The location on the start menu will vary on different computers.
Now, start Microsoft Access by clicking its icon on the start menu (or by any other method you prefer).
When Microsoft Access begins, you will see a window similar to the one shown below.
Creating a new Database
You will notice that the first time you open Access, the screen is rather empty and unfriendly. This is
very different from other programs such as Word or Excel where you are presented with a new, ready to
use document each time you start the program. This is because you can’t begin using a database
without setting one up first, which takes a fair amount of effort. That is why you don’t get a blank,
ready to use database when you begin the program. The first thing we will need to do is create a
database to use.

The first step is to create and save a blank database file. In other programs, you usually don’t save a file
until you’ve done something with it, but in Access, saving the file is the first step. This is because in
Access, many things are automatically saved as you work so Access needs to know where to save it all
right at the start.

Creating a Database File


In the screenshot shown below, choose the icon that says “blank desktop database.”

1
This will open a new dialog box. Let’s change the database file name from “Database1.accdb” to
“StudentList.accdb” Then, click on the Browse icon to change directory to your H drive and the folder
that you use to save files of this class.

In the “Save as type:” dropdown list, please select “Microsoft Access 2007 – 2013 Databases (*.accdb).”
See the figure below. This type is the newest version of database file format supported by Access 2013.
Click OK to save changes in the new dialog box.

After that, click create


Note: Creating a database should normally only be done after a lot of planning has taken place. In the
following exercises it is assumed that the database you will create has already been well planned. Later
on we will get in to some procedures for planning a database.

The Database Window


When you create a new database or an existing database, you will usually see the Database Window
similar to the one shown below

2
Databases are made up of various objects such as tables, queries and forms. The options down the left
side will take you to the main sections of the database. The options at the top of the database window
allow you open existing database objects, modify database objects, or create new database objects .

 The first database object we will look at is tables.

Tables are the most important component of an Access database because tables are where all of your
information is stored. Tables in an access database are similar in many ways to Excel tables. Most Access
databases will consist of more than one related table, but the first database we will create will be a
simple, single-table database. Each table is made up of columns referred to as Fields and rows referred
to as Records.

Fields and Primary Keys


When you create a new table, one of your first tasks is to create the fields that will make up the table.
One of the fields should be a primary key. A Primary key is a field which is unique to each record.

Creating a Table
1) Click on “Create” ribbon.
2) Then click on “Table” button.

3) A new table “Table2” will appear. Click on “Home” ribbon and then “View.”

Select “Design View” from the list of options and change the table name from “Table 2” to
“StudentList” and then click OK.

3
The table design window will look similar to the one below.

Note: How do you get rid of Table1 from the database? To do that, perform the following 2 steps:
 Close it on main Database Window (see the red circle on the above figure) - Right click on the
tab and choose Close
 This step may be optional for Access 2013. On the left-hand-side panel, if Table 1 is still there,
right click on Table1 and choose Delete. If you see a warning message, click on OK.
Now, we are in the Design View of the StudentList table. The top section of the window is where you
enter the names of the fields in your table along with the data type for each field. When you have a field
name selected in the top section, the bottom section will display properties which allow you to
customize the selected field.

Field Data Types

4
Each field in a table can be one of several available field types as shown above. When you enter a field
name in the design view, the next column will allow you to choose a field type. You will use several of
these in later exercises.
 Short Text: This is the default field type since it is the most commonly used. The default
character limit is 255, but it can be increased to 4000 in the field properties. This field is best
suited for text or numbers that don’t require calculations (such as phone numbers)
 Long Text: Stores large amounts of text or numbers. A Long Text field can contain up to about a
gigabyte of data and up to 2^30-1 bytes.
 Number: Stores only numbers. Useful for fields that may require calculations. For numbers that
don’t require calculations (such as phone numbers) you are better off sticking with Text fields
which use less space.
 Date/Time: For date and time information.
 Currency: Used for dollar amounts.
 AutoNumber: Automatically generates a unique number for each new record. Useful for primary
key fields.
 Yes/No: Fields that contain only one of two values (such as yes/no, true/false, on/off).
 OLE Object: For fields that need to contain an external object, such as a picture or document.
 Hyperlink: For links such as email and web page addresses.
 Lookup Wizard…: Allows the user of the table to choose a value from another related table.

Creating Fields
1) Make sure the first row in the Field Name column is selected.
2) Type Last Name (to replace ID) and press [Tab] or [Enter]. This will move you to the Data Type column.
Click on the “Primary Key” option at the top section of the window (see the red circle on the figure
below) to remove this field as the primary key for the table.

3) Leave the Data Type as Short Text and press [Tab] or [Enter] to move to the Description column.

4) In the Description column type Last name of the student and press [Tab] or [Enter] to move on to the
next line. SAVE THE TABLE DESIGN BY CLICKING ON THE FLOPPY DISK ICON AT THE TOP LEFT (see the
small red circle on the above figure).

5) For the next field enter First Name as Field Name, Short Text as Data Type and First name of the
student as the Description.

5
6) For the next field enter Date of Birth as Field Name. In the Data Type column we want to change it to
Date/Time. An easy way of selecting Data Type is to press the first letter of the one you want. Press the
letter D and Date/Time will become selected. Enter Birth date of the student for the Description and
move to the next line.

7) Complete the remainder of the fields so that they are the same as the ones shown below.

Note: it is not essential to provide a description for each field but it is a good idea. These descriptions can
be used to provide information for people using the database.

8) FINALLY CLICK THE FLOPPY DISK ICON AT THE TOP LEFT TO SAVE THE TABLE DESIGN. CHANGE TO
DATASHEET VIEW (View tab -> Datasheet View). AGAIN CLICK ON THE FLOPPY DISK TO SAVE THE
TABLE, AND THEN CHANGE BACK TO DESIGN VIEW (View tab -> Design View).

Creating a Primary Key


At the moment the table has no primary key specified. None of the fields would contain information that
would be unique to each student. For instance, the same last name could be shared by more than one
student so last name could not be used to identify a specific student record. The same is true for each
other field. In cases like this where there is no field unique to each record, a new field can be created
and used as a primary key. In the design view:

1) Click on the first row (Last Name).


2) From the top menu choose Insert Rows (in the Tools group) to insert a new row. You can also insert a
new row by right-clicking on a row and choosing Insert Rows. (See the figure below.)

3) Enter StudentID as the new Field Name. Choose AutoNumber as the Data Type. For the new field
Description enter - Unique identification number for the student.

6
An AutoNumber field is the only one where you don’t need to type anything in to a record. For each new
record entered, Access will automatically place a new number in the AutoNumber field. It is useful as a
primary key field as it ensures that each record will have a unique number.

4) Make sure the StudentID field is still selected.


5) From the top menu, click on Primary Key. A key symbol will appear next to that field.

You can also set a field as a primary key by right-clicking and selecting Primary Key. If you accidentally set
the wrong field as a primary key, then simply select the intended field and click on the primary key
option once again to set it as the new primary key.

Saving a Table
It is usually best to specify a primary key for a table before saving it as we have done. Otherwise, Access
will want to create an extra field as a primary key. When a table is saved, it doesn’t become a new file. It
becomes an object within the database file you have already created. In all other ways though, it is
similar to saving a file. Click on the floppy disk icon at the top left to save the table.

Entering a Record
While a table is open, you can quickly switch between the design view (used for modifying the design of
the table) and the datasheet view (used for working with the actual data in the table).

1) Click the View icon on the toolbar (first icon on the far left at the top) and choose Datasheet View.
This is a quick way to switch between views. The screen changes to the one shown below.

7
This is the Datasheet View:

2) Notice that the first column is for the StudentID field and it is filled with the text (New). We don’t
need to enter anything in this field since a student number will be generated automatically (remember
that’s what an AutoNumber field’s for). So, press [Tab] to move to the Last Name field.

3) Type Robbins as the Last Name. Notice that as soon as you enter information, a number will appear in
the Student Number column. Every record will be given a unique number. If you delete a record, that
number won’t be used again.

4) Press [Enter] after typing the name and the cursor will move to the next field.
5) Complete the rest of the fields as shown below (Address is 4 Kensington Avenue).

6) When you reach the last field (Comments) press [Enter] again to move to the next line. As soon as you
move off that row, the record will be saved. Changes to table data are saved automatically in Access. The
only time you need to save any changes yourself is when you’ve modified the structure of a database by
adding or modifying the design of objects (such as tables).

7) Click the View icon to return to the table Design View.

Closing a Table and Closing a Database


1) You can close a table by clicking the close (x) button in the corner of the table to the right. When you
close the database window, you will be closing the database.

2) Close the database window by clicking the Access icon button at the top left and choosing the Close
(Alt+F4) option. If there have been any changes to the design of the table you will be prompted to save
the changes.

Opening a Database
1) Opening a database in Access is similar to opening a file in another program. When Access first starts,
you can go to the File tab and choose Open, to bring up the Open dialogbox.

2) Open the StudentList.accdb database by clicking on Open.

3) Double click on StudentList (which is the table you just created) on the left to open the table. The
table opens up in Datasheet view. Click on View, and choose Design View to change the view.

Table Properties

8
A database will often be used by a lot of different people and the person designing it will not always be
one of the users. For that reason, it is important to ensure that the database is designed to be easy to
use. A table’s fields each have several properties that can be changed to make the table easier to use.
The properties available for each field will vary depending on data type. The following table provides a
summary of the purpose of each field property.

The Field Size Property


Your database window should be listing the table in the database. Only one table has been created. We
will modify the field size for some of the fields.

1) Click on the Zipcode field. At the bottom of the window you will see a list of properties for the
selected field.

2) Since we will only use this field for Australian postcodes, we will limit the field size to 4 characters.
Click on the Field Size property and change the number from 255 to 4 (see the figure below).

3) In the top part of the window, click on the State field. This field will only be used to store 2 or 3 letter
abbreviations for state names such as WA and NSW. Change the Field Size property to 3 (see the figure
below).

9
4) In the top part of the window, click in the Score field. Then click on the Field Size property in the lower
part of the Access window. For number fields, you have a range of Field Size options to choose from
(such as byte, single and integer). To find out more about any property you want to modify, you can use
the [F1] key to go straight to help about the selected property.

5) For our Score field we want an option that allows for decimal places but doesn’t have a large number
range. Single would be a suitable option so choose that for Field Size. See the figure below.

10
6) Click on the floppy disk icon (top left) or press [Ctrl][S] to save the changes to the design of the table.
If you see any warning messages, ignore them and say Yes or OK.

The Format Property


The format property is used to control how information from a field will display. This allows you to
ensure that all of the information in a table will have a consistent look.

1) Select the Date of Birth field from the top section of the window. Click on the Format property at the
bottom. An arrow to the right of the property indicates that there are some built-in formats that can be
chosen from a list.

2) Click on the arrow to display the list and choose the Short Date option. This will mean that any dates
in this field will be displayed as mm/dd/yyyy so that the 1st of January 2004 would display as 1/1/2004.
You can also create your own custom formats for any field. Remember that you can use the [F1] key for
help on creating custom formats.

3) Save the changes to the table design. When you save changes to a table design, you may see a
message like the following.

This simply means that Access wants to check data that has already been entered in to the table to make
sure that it won’t conflict with any changes in the table design. Click on “Yes” to continue.

11
The Default Value Property
This property is used to specify that a certain field will be filled in automatically. This is useful if most of
the values in that field will be the same, since the user will only have to type information that is different
from the specified default value.

1) Select the Default Value property for the State field. We will assume that most of the addresses will
be in WA so we will make that the default value. Enter WA for the default value. See the figure below.

2) Save changes to the table design.

The Input Mask Property


Input masks are a way of ensuring that information is entered in to a database in a consistent way. They
are often used with things like Dates and Phone numbers to assist with data entry. This can prevent
problems with data being entered different ways by different users of the database. For example,
different people using the database might enter the same phone number in different ways such as:
• +61 08 0000 0000
• 0000 0000
• (08) 0000 0000
In this instance, an input mask could be entered to ensure that everyone enters phone numbers the
same way.

1) Select the Phone field from the top section of the window and then find the Input Mask property at
the bottom.

12
2) The textbook associated with the Input Mask property is editable.

3) Enter the following mask string in the textbox. Do NOT use the pop-up window for selection. Make
sure to have all characters exactly as shown in the figure below – this may read weird for you but it is
actually for the system instead of human beings to understand.

4) Enter (or copy and paste) the following Input masks for related fields.

Date of Birth 99/90/0000;;_


Zipcode 0000;;_
State >aaa

5) Save the changes to the table design.

Creating Validation Rules


A Validation Rule is a property which places a restriction on what can be entered in to a particular field.
This can be used to make sure that only certain types of information are entered in to a field. If the user
of a database tries to enter information which is not allowed by the validation rule, an error message will
appear. The Validation Text property allows you to specify what the error message will say.

First we will create a validation rule which limits the State field to Australian states.

1) In the Design View, select the State field in the top section of the window and then select the
Validation Rule property in the bottom section.

2) For the Validation Rule, enter ACT or NSW or NT or QLD or SA or TAS or VIC or WA (make sure you
enter THE ENTIRE EXPRESSION NOT JUST ACT). See the figure below. When you press the [Enter] key
after typing the rule, Access will place “ ”s around each entry. This rule will mean that the user of the
database can only enter information that matches one of the entries in the rule.

13
When you save this change, you may get a message like the following. Click “Yes” to continue.

3) Now we will enter Validation Text in the next property. For the Validation Text property, enter “Must
be an Australian state.” This means that if someone enters something that is not allowed by the rule,
this text will appear as an error message.

4) Enter the following Validation Rule and Validation Text for the Date of Birth field. See the figure
below.
Validation Rule: <Date()
Validation Text: Must be earlier than today’s date

14
This rule will only accept dates that are earlier than Date() (which means the current date in Access).
Obviously we won’t have any students that haven’t been born yet, so any future dates entered would be
an error. Validation rules and text can let a user know when they have made an error such as that.

5) Save the changes to the table design.

Other Field Properties


Some of the other field properties may also be useful in table design.

1) Select the Last Name field. We want to set the field properties so that the user has to make an entry
in this field.

2) Change the Required property to Yes (wherever you have a drop-down list for a property you can
double click on the No to quickly change it to the next available option which would be Yes in this case).
When the Required property is set to Yes, the user must enter something in this field or they will get an
error.

3) Change the Allow Zero Length property to No. When the Allow Zero Length property is set to No,
entering a blank space and nothing else in the field will not be accepted as a valid entry.

4) Change the Indexed property to Yes (Duplicates OK). When a field is indexed, it means that Access will
keep track of what has been entered in to that field. That means that Access will be able to find
information in that field a lot quicker which speeds up operations such as sorting, searching and
querying. It is similar to the way an index in a book allows you to find information quicker without you
have to search one page at a time. It is a good idea to index any field that is likely to be used a lot in
searches and sorting. The Duplicates OK part simply means that it will be OK to have more than one
record with the same last name in the field.

5) Change the Indexed property to Yes (Duplicates OK) for the following fields.
• First Name
• Date of Birth
• City
• State
• Gender
• Score

6) Save the changes to the table design. Close the table to return to the Database window.

Record Entry with Properties


Now that we have modified field properties for the table, we will enter another record to see the effects
of the changes. Please follow the steps shown below:

15
The new data will be saved automatically in the table. Now, add the records with StudentID’s 3, 4, 5 and
6 as shown below.

Till now, you’ve done part 1 (15 points) of this project. For now, you don’t have to submit anything yet.
But you need to rename your database file to YourLastName-YourFirstName-P5.accdb
 Pay attention to the extension name - it's NOT .laccdb which is the intermediate file.

To rename the database file, first CLOSE the entire Access Software, and then locate the file in the
folder where you saved it -> right click on the file -> Rename. (Note - if you don’t close Access first, you
will see two files in your folder: .accdb – the database file, and .laccdb – the intermediate file. This
could be confusing.)

16
Creating Queries in Access (P5-b) 15 points
After Tables, Queries are perhaps the most important component in a database. Queries are used
to retrieve information from a database.

A query is a set of rules for finding information in a database. Queries in a database use the
Structured Query Language (SQL – often pronounced “sequel”). In Access, however, it is
not necessary to learn SQL to create queries, as queries can be created using the much simpler
Query by Example (QBE) window. The most common variety of query is the Select query,
where the query is used to select certain information from the database according to criteria you
specify.

We are going to use the StudentList database created in the previous part to practice creating
queries. So make sure it is open before you commence the following exercises.

Exercise 1. Setting up a Query

Your StudentList table should already be open with the Database Window showing.

1) Click Create, then Query Design on the top of the database window.

2) The Show Table window will appear, allowing you to select the source table or query to be
used. The Query Design window will be visible behind that.

3) Make sure the StudentList table is selected as shown above and click Add (you can also
double-click the name of a table to add it).

17
4) Click Close to close the Show Table window and you will now be in the Query Design
window as shown below.

The top section of the window shows a list of fields in the source table(s). The bottom half,
referred to as the QBE Grid (Query by Example), is where you can select the fields and criteria
essential to the query results.

Exercise 2.Customizing the Design Window

When the Query Design window (Source Table) first appears, there may not be as much room as
you would like for seeing all fields in the table. First, re-size the window to make it bigger.
 Move your mouse over the bottom-right corner of the window until your mouse appears
as a re-sizing arrow shape.
 Drag your mouse downwards to extend the bottom border of the window. Make sure you
can see all fields without having to scroll.

18
Exercise 3. Selecting Fields for Query Output

Selecting fields to be included in the query results can be done in several different ways. In this
exercises you will learn DIFFERENT ways of doing it. When you become experienced with
Access you may decide on a method you prefer to stick with. The bottom half of the query
design window is where information about the currently selected fields will be kept.
1) Make sure the first column in the QBE Grid is selected. The first row is for the field names
and a drop-down arrow will appear next to selected box.
2) Click the arrow and a list of fields from the StudentList table will appear.
3) Select Last Name from the list. The Query results will now show the Last Name field.

4) Click the Datasheet View icon to view the results of the current query.

19
You will see a list of all students with only the Last Name field showing (see the figure below).
(Note: We didn’t set up the order of the records, so the order of names as shown in the figure
below doesn’t matter. You may see a different order in your own query.)

5) Click the Design View icon to return to the Query Design view. Fields can also be dragged
to the QBE Grid from the field list in the top section of the window.

6) Click on First Name in the Field List at the top and drag it down to the column next to where
you selected the Last Name field (you can also drag it on to a column that already contains a
field to insert it before that column).

20
7) Click the Datasheet View icon to view the results of the current query.

8) Click the Design View icon to return to the Query Design view. You can select multiple
fields from the Field List using the [Shift] and [Ctrl] keys the same way you can select multiple
files in Windows Explorer. The most commonly used method of selecting fields is double-
clicking.

9) Double-click on Date of birth in the Field List. It will be added as shown below:

10) Double-click to add the following fields. Address, City, Zipcode, State, Gender, Score.
These fields will be used in the queries that will follow.

Exercise 4. Saving a Query

Saving a Query is much the same as saving a table.

1) Click on the Floppy Disk icon on top left corner.


2) For the query name enter test query and click OK.

21
Query Criteria
The next key step in creating a query is to specify what kind of information you want to be
included in the query results. The rules you set up for determining what will be included in the
results are referred to as Criteria. If you look in the QBE grid, you will notice that there is a
criteria row. To use criteria, you can type an example of your intended result in the criteria row
below your intended field (which is why it’s called Query by Example).

Exercise 5. Adding Criteria to a Select Query

In this exercise, we will use criteria so that the query results will only show records for students
where the city/suburb is Dianella. Any records with a different city/suburb will not appear in the
results. Your test query from the last exercise should still be open.

1) Go to the Design View of your “test query.” Click on the Criteria row in the City column.
2) Enter Dianella in this cell. It doesn’t matter if you use uppercase letter for the criteria or not. It
makes no difference.

3) Click the Datasheet View icon to view the results of the current query. Your results will
only show records matching the criteria (i.e., all records that have “Dianella” in the City field).

22
4) Click the Design View icon to return to the Query Design view. You will notice that Access
has placed quotation marks around your criteria. Access uses quotation marks to specify that it is
text criteria. When dates are used as criteria the date will be surrounded by a # on each side as
you will see later. Numbers are left alone. When entering criteria you don’t need to enter
these symbols yourself but be careful when editing. If you delete quotation marks on one side
and not the other, you will get an error.

5) Change the criteria from Dianella to Yokine.


6) Click the Datasheet View icon to view the results of query again. Now you will only see
students from the city of Yokine.

7) Now, please save this query with a new name “query city yokine” To do it, click File ->
Save As -> Save Object As -> Save Object As -> Save As -> then type in “query city yokine”
-> click “OK.” See the figure below. Basically, you need to click those buttons from left to right.

23
When you click back to Home, you will see there are two queries listed as shown below:

Using multiple criteria


You can use more than one criterion in a query to either narrow down the results or expand on
the results. You can narrow down the results using “and” criteria and increase the results by using
“or” criteria.

Exercise 6. Using “And” Criteria

“And” criteria work by using more than one criterion in different fields. This has the effect of
reducing the number of results. In the previous exercise, you used criteria in the City/Suburb
field to limit the results to only two records. If you decided to also specify that you only wanted

24
results for female students you would reduce the results even further - i.e., you would only see
results where the record is in a certain city/suburb and a certain gender.

1) Make sure “test query” is being selected. Then click the Design View icon to return to the
Query Design view. You can also do this by right click on “test query.” Scroll to the right until
you can see the Gender field.

2) Enter Yokine for the criteria in the City field. Enter Female for the criteria in the Gender field.

3) Click the Datasheet View icon to view the results of query. You will only see records where
the record has Yokine for the City field and Female for the Gender field. The additional criterion
has reduced the number of results from two records to one record.

4) Save this query as “query city yokine and gender female” (File -> Save As -> Save Object
As -> Save Object As -> Save As -> then type in “query city yokine and gender female” ->
click “OK”) Now you should have three queries as shown below:

25
Exercise 7. Using “Or” Criteria

“Or” criterions allow you to increase the results by having more than one criterion for the same
field. For example, if you wanted to see all of the records where the city/suburb was Yokine,
Bedford or Morley, you would get more results than if you only had one of those suburbs as the
criteria. In other words, the results would show all records that are Yokine or Bedford or Morley.
There are two ways of using or criteria. The first is to use the or operator as part of you criteria
as in the following steps.

1) Return to Design View for query “test query.” Delete any existing criterion in your query.
2) In the criteria row for the City field enter Yokine or Bedford or Morley.

3) Click the Datasheet View icon to view the results of query. You will see records that have
any one of those suburbs in the City field. Return to Design View when done.

You can also use or Criterion by placing each criterion on a different row. You will notice that
under the Criteria row is an Or row which works an “or” operator. All of the ones below it are
also rows used for Or criteria, so you can have as many criteria as you like in a single field.

4) Delete the criteria in the City field.

26
5) Enter the same cities one under the other as shown below (you don’t need to put the quotation
marks; Access will do that on its own).

6) Click the Datasheet View icon to view the results of query. You should get the same results
as before. Return to Design View when done.

7) Save this query as “query three cities” (File -> Save As -> Save Object As -> Save Object
As -> Save As -> then type in “query three cities” -> click “OK”) Now you should have four
queries as shown below:

Ranges in Criteria
Instead of using specific criteria, you can specify that you want the results to find all records
within a certain range.

Exercise 8. Using an Upper or Lower Limit


Logical Operators can be used to set a logical limit on the range or results. If you want to
specify a “Less than” criteria you can use the < symbol. To specify a “Greater than” criteria, use
the > symbol.

1) Return to Design View for query “test query.” Delete any existing criterion in your query.
2) Scroll right to the Score field and enter >70 for the criteria.

3) Click the Datasheet View icon to view the results of query. You will see all students with a
score higher than 70. Return to the Design view.

27
4) Delete the criteria in the Score field.
5) Scroll left to the Last Name field and enter <M for the criteria.
6) Click the Datasheet View icon to view the results of query. You will see all students a last
name staring with a letter that comes before M in the alphabet. Return to the Design view.

7) Save this query as “query last name” (File -> Save As -> Save Object As -> Save Object
As -> Save As -> then type in “query last name” -> click “OK”) Now you should have five
queries as shown below:

Exercise 9. Using an Upper and Lower Limit

You can use range criteria to specify an upper and lower range so that records between those
values will appear in the results.

1) Return to Design View for query “test query.” Delete any existing criterion in your query.
2) In the Score field, enter >=50 and <=80 for the criteria and view the results of the query.

28
3) Your results will show all records for students with a score that is between 50 and 80.

4) Save this query as “query score” (File -> Save As -> Save Object As -> Save Object As ->
Save As -> then type in “query score” -> click “OK”) Now you should have six queries as
shown below:

Congratulations! Now you are done with P5.

You should have saved all 6 queries as shown above. Again, your database file (with all
queries) must be named as YourLastName-YourFirstName-P5.accdb

To submit it:
 CLOSE the entire Access Software. Now you will see only the database file (with the
extension .accdb) in the folder where you saved the database. The intermediate file
(with the extension .laccdb) is gone.
 Submit the database file (NOT the intermediate file) to Bblearn

29

You might also like