Visibooks The Visibooks Guide To Base 2 0 Apr 2006 ISBN 1597060380 pdf

  The Visibooks Guide

to Base 2.0

  by Jill & Kevin Jordan

  www.visibooks.com The Visibooks Guide to Base 2.0 Copyright Copyright © 2006 by Visibooks™, LLC. All rights reserved. Trademarks and Disclaimer

  Visibooks™ is a trademark of Visibooks, LLC. All brand and product names in this book are trademarks or registered trademarks of their respective companies.

Visibooks™ makes every effort to ensure that the information in this book is accurate.

However, Visibooks™ makes no warranty, expressed or implied, with respect to the

accuracy, quality, reliability, or freedom from error of this document or the products

described in it. Visibooks™ makes no representation or warranty with respect to this

book’s contents, and specifically disclaims any implied warranties or fitness for any

particular purpose. Visibooks™ disclaims all liability for any direct, indirect,

consequential, incidental, exemplary, or special damages resulting from the use of the

information in this document or from the use of any products described in it. Mention of

any product does not constitute an endorsement of that product by Visibooks™. Data

used in examples are intended to be fictional. Any resemblance to real companies,

people, or organizations is entirely coincidental.

  ISBN 1597060380

  Table of Contents

Database Basics ............................................. 1

  Create a new database ..........................................................................2 Create tables ........................................................................................12 Create records......................................................................................21 Create forms .........................................................................................29 Create queries ......................................................................................42 Create reports ......................................................................................49

Working with Tables ..................................... 65

  Modify tables ........................................................................................66 Create new tables.................................................................................76 Specify data types................................................................................79 Specify field properties .......................................................................85 Edit records ..........................................................................................88 Find records .........................................................................................91 Sort and filter records..........................................................................96 Create table relationships .................................................................101

  

Working with Forms ....................................113

Modify forms ...................................................................................... 114 Add/delete records ............................................................................ 119 Edit records........................................................................................ 121 Find records ....................................................................................... 123 Filter records...................................................................................... 126

  

Working with Queries ..................................131

Create queries.................................................................................... 132 Sort results......................................................................................... 141 Add criteria......................................................................................... 143 Employ Boolean operators ............................................................... 146

  Database Basics In this section, you’ll learn how to:

  • Create a new database
  • Create tables
  • Create records
  • Create forms
  • Create queries
  • Create reports

  

Create a new database

Start OpenOffice.org Base.

1. Your screen should look like this:

  In the Database Wizard window, click Create a new database.

2. Then click the button.

  When the Save as window appears, create a new folder in the 3.

  My Documents folder called Practice Base Files.

  Tip: To create a new folder, make sure the My Documents folder appears as the Save In folder.

  Then click the icon. Double-click the Practice Base Files folder.

4. It should appear as the Save In folder.

  In the File name box, type: 5.

  Family.odb

  Tip: Base will automatically add a file extension for you when you leave the Automatic file name extension box checked. Click the button.

6. The window for the Family database should open:

  Identify database elements

  Elements of databases A database stores information in an organized way, and makes it easy to get information in and out.

  Tables store data within the database. Forms make it easy to put data into tables. Queries pull out specific data. Reports put data in an easily-read format.

  Form Query Table

  Table Report

  1. In the Database list, click Tables.

2. Click Queries.

3. Click Forms.

4. Click Reports.

  5. Click Tables.

  Create tables 1.

  Click Create Table in Design View.

  A blank table should open with the columns Field Name, Field , and Description:

  Type Name fields in Design View

  Click in the box under the Field Name column header: 1.

  Type: 2.

  First Name

  Press the ENTER key on your keyboard.

3. The Design View of the table should look like this: The field type for First Name can stay Text [VARCHAR].

  Click in the box under where you just typed First Name.

4. Type:

  Last Name

  It should look like this: Press the ENTER key on your keyboard.

  5.

  In the same way, create the following fields: 6.

  City Zip Phone Number

  The table should now look like this: On the Menu Bar, click File, then Save.

7. When the Save As window appears, type: 8.

  My Family in the Table Name box.

  Click the button.

  9.

  When the alert window that reads No primary key appears, click 10. the button.

  Base will insert an ID field—the Key field—in the table: On the Menu Bar, click File, then Close.

11. The key field

  When the alert window popped up, and you clicked the button, Base added the ID field to the table.

  The ID field is now the table’s primary key, or key field. That means it can’t contain any duplicates.

  Every table should have a key field. For example, if a hospital keeps a database, each patient can have a unique ID number in the key field.

  That way, if it has more than one patient named John Baker, it can easily distinguish John Baker, ID #326 in for a checkup, from John Baker, ID #298 who needs his gall bladder removed.

  Create records Double-click the table My Family in the Tables list.

  1. Click in the box under the ID column header.

  2. Type: 3.

  1 Click in the box under the First Name column header.

  4. Type: 5.

  Elvis Press the TAB key on your keyboard.

  6. The table should now look like this:

  Type: 7.

  Presley then press the TAB key.

  Type: 8.

  Baltimore then press TAB.

  Type: 9.

  21212 then press TAB.

  Type: 10.

  4105551212 then press TAB.

  The table should now look like this: Tip:

  Notice how the cursor in the row selector has moved down to the second (new) record.

  When you move on to a new record, Base automatically saves the previous record. Add new fields 1.

  On the Menu Bar, click File, then Close.

2. Right-click the My Family table.

  When the menu appears, click Edit.

3. The table should appear in Design View:

  Click the box under Phone Number and type: 4.

  State Press the ENTER key.

  5. On the Menu Bar, click File, then Save.

  6. On the Menu Bar, click File, then Close.

  7.

  Double-click the My Family table.

  8. Click inside the new State field for the first record.

  9. Type: 10.

  MD Press TAB until the cursor moves down to a new record.

11. Record number 1 is saved and complete.

  On the Menu Bar, click File, then Close.

  12.

  Create forms 1.

  In the Database list, click Forms.

2. Click Use Wizard to Create Form.

  When the Form Wizard window appears, click the button.

3. All the table fields should be added to the form: Click the button.

  4.

  When the next screen appears, leave Add Subform unselected 5. and click the button.

  When the next screen appears, make sure Columnar – Labels 6.

  on Top is selected. Then click the button three times.

  When the Set the name of the form screen appears, type: 7.

  My Family Data Input Form in the box. Click the button.

8. The form should open and look like this:

  Add a new record In the form window, click the button.

1. A blank record should appear:

  Click in the ID box, then type: 2.

2 Press TAB to advance to the First Name box.

  3.

  Type: 4.

  Bo then press the TAB key.

  Type: 5.

  Diddley then press the TAB key.

  Type: 6.

  Richmond then press the TAB key.

  Type: 7.

  23220 then press the TAB key.

  Type: 8.

  8005557890 then press the TAB key. Type: 9.

  VA

  The form should now look like this:

  Press the TAB key again.

10. The form should progress to a new, blank record: The old record has been saved.

  On the Menu Bar, click File, then Close to return to the database 11. window.

  Create queries

  What’s a query? A query is a way to get specific information from the database.

  Essentially, it’s a question. You use queries to ask the database things like, “Who are my customers in Montana?”, or “How many pipe fittings have I sold this month?” In the Database list, click Queries.

  1.

2. Click Use Wizard to Create Query.

  When the Query Wizard opens, double-click My Family.First 3.

  Name in the Available Fields list.

  My Family.First Name should appear in the Fields in the Query column:

  Click the button.

4. This should add the Last Name field to the Fields in the Query

  list: Double-click My Family.Phone Number.

  5.

  This should add the Phone Number field to the Fields in the list:

  Query Click the button four times.

  6.

  When the Overview screen appears, in the Name of the query 7. box type:

  Names and Numbers Click the button.

8. The query is automatically saved and executed.

  It should look like this: On the Menu Bar, click File, then Close to return to the database 9. window.

  Create reports 1.

  In the Database list, click Reports. Click Use Wizard to Create Report.

  2. When the Report Wizard window appears, click the Tables or 3.

  Queries drop-down arrow.

  When the list appears, click Table: My Family.

  Click the button to move all the fields into the Fields in 4.

  report list. In the Fields in report list box, click ID, then click the button.

5. The ID field should be removed.

  The report wizard should now look like this: Click the button.

  6.

  When the Labeling fields screen appears, click the 7. button.

8. When the Grouping screen appears, click the button.

  When the Sort options screen appears, click the Sort by drop- 9. down arrow.

  Then click State in the list.

  Click the button.

  10. Choose layout and style

  When the Choose layout screen appears, make sure Default is 1. selected in the Layout of data section.

  Then click the button. Tip:

  The Layout of data section allows you to customize the look and feel of your reports. You can click through the different layouts and see them applied to your report in the background. View the report

  When the Create report screen appears, make sure the Title of 1.

  report box reads: My Family

  Make sure the Create report now radio button is selected. Click the button.

2. The report is automatically created, saved and opened.

  It should look like this: On the Menu Bar, click File, then Close to return to the Family 3. database window. On the Menu Bar, click File, then Save to save the Family 4. database.

5. On the Menu Bar, click File, then Exit to close Base.

  Practice: Database Basics 1.

  Open OpenOffice.org Base.

  2. Create a blank database in the Practice Base Files folder called Library.odb .

  3. Create a new table with these fields:

  ID Title Author Genre Date Purchased Number of Pages 4.

  Save the table as Books. Allow Base to create a Primary Key.

  5. Rename the ID field (the Primary Key) Book ID.

  Enter these data into the table to create the first record: 6.

  Title: Ideas & Opinions Author: Albert Einstein Genre: Nonfiction Date purchased: 11/18/2005 Number of Pages: 384

  It should look like this: Close the Books table.

7. Create a form for the Books table.

  8.

  Save it as Books Table Data Input.

9. It should look like this: Use the form to enter information for four more books.

  Tip: Feel free to make things up. Create a query that pulls out this information: 10.

  Title Genre Number of Pages

  Save the query as Quick Book Notes.

  11. Run the query.

  12. It should look like this: Create a report based on the Books table.

  13. Include all the fields of the Books table in the report, and sort the 14.

  records based on Genre. Tip: Format the report using the Default style. Name the report Book Inventory.

  15. It should look like this: Close the report.

  16. Exit OpenOffice.org Base.

  17.

  Working with Tables In this section, you’ll learn how to:

  • Modify tables
  • Create new tables
  • Specify data types
  • Specify field properties
  • Edit records
  • Find records
  • Sort and filter records
  • Create table relationships

  Modify tables

  Open a web browser and go to: 1.

  www.visibooks.com/books/base2 Right-click the FlowerStore.odb link.

2. When the menu appears, click Save Link Target As.

  When the Save As window appears, open the Practice Base 3.

  Files folder on your hard drive.

  Then click the button.

  Wait for the database to download completely, then close the 4. web browser. Open an existing database Start Base.

1. When the Database Wizard opens, click the Open an existing 2.

  database file radio button.

3. Click the button.

  Open the Practice Base Files folder, then double-click 4.

  FlowerStore.odb .

  The FlowerStore database window should now look like this: Adjust table layout 1.

  Double-click the Customers table to open it.

  Place your cursor on the divider between the Phone Number 2. and Fax Number column headings.

  The cursor should turn into a double-headed arrow: Double-click.

3. The Phone Number column should resize to fit the widest piece

  of data in that field: Tip:

  Instead of double-clicking, you can also drag column heading dividers to set column widths manually.

  Double-click the divider between the City and State column 4. headings.

  The City field should resize to fit the data in it. Click the window’s button to close the Customers table.

  5.

  Create new tables Click Create Table in Design view.

1. A blank table will open in Design View:

  In the first box in the Field Name column, type: 2.

  Order ID then press the TAB key.

  It should look like this: On the Toolbar, click the icon.

  3.

  When the Save As window appears, type: 4.

  Orders in the Table Name box.

  Click the button.

  5. When the alert window appears, click the button.

  6. Tip: You’ll assign a Primary Key later.

  Specify data types Assign the AutoNumber data type

  In the Data Type column beside the Order ID field, click the 1. drop-down arrow.

  When the list appears, click Integer.

  Under Field Properties, beside the AutoValue field, click the 2. drop-down arrow.

  When the list appears, click Yes. In the Description column, type: 3.

  This is the Generic Order ID Number then press TAB.

  Tip: Filling in a Description is optional, but it helps you to remember what sort of information is supposed to be stored in a field. Assign the Date/Time data type

  In the Field Name column, in the second row, type: 1.

  Order Date then press TAB.

  In the Data Type column, click the drop-down arrow.

2. When the menu appears, click Date/Time, then press TAB.

  3.

  In the Description column, type: 4.

  Date the order was placed then press TAB. Assign a Primary Key Right-click the Order ID field.

  1. When the menu appears, click Primary Key.

  2. The field should now show a key beside it:

3. On the Menu Bar, click File, then Save.

  Specify field properties Click in the Order Date field.

1. In the Field Properties section of the window, click the 2.

  button next to the Format example box. In the menu of formats that appears, click 12/31/99.

3. Then click the button.

  The Order Date’s Format example field should now look like this:

  On the Toolbar, click the icon.

4. Tip: If a Warning window appears, click the button.

  The table design window should now look like this: On the Menu Bar, click File, then Close to return to the 5. database window.

  FlowerStore

  Edit records Open the Customers table.

  1. Click inside the Customer Name field for record number 1, 2.

  between the w and s in Andrews Floral.

  Insert an apostrophe.

  3. Press TAB eight times to move to the Phone Number field.

  4.

  Type: 5.

  2125554569

  It should replace the previous text: Click in any other record.

6. Tip: Remember—changed data in a record is saved when you move off that record.

  The Customers table should now look like this: Delete records Right-click the button for HomeVase’s record.

  1. In the menu that appears, click Delete Rows.

  2. When the alert window appears, click the button.

  3. Tip:

  Once a record has been deleted from the database, it cannot be recovered.

  Find records Navigate records

  In the Customers table window, click the (Last Record) 1. button.

  The cursor should be in the last record in the database: Click the (Previous Record) button.

2. The cursor should be in the previous record.

  Click the (First Record) button.

  3. The cursor should be in the first record.

  Click the (Next Record) button.

  4. The cursor should be in the second record.

  Click the (New Record) button.

  5. The Customers table should look like this:

  Search for records Click the Company Name column header.

1. The table should look like this: On the Toolbar, click the (Find) icon.

  2.

  When the Record Search window appears, type: 3.

  Love in the Search for Text box.

  In the Position list, click the drop-down arrow, then anywhere in 4.

  the field .

  Click the button.

5. The Customers table should now look like this, with Love Me

  True highlighted: In the Find and Replace window, click the button.

  6.

  Sort and filter records Sort in descending order Click the Company Name column header.

1. The table should look like this: On the Toolbar, click the (Sort Descending) icon.

  2.

  The Customers table should now look like this, with the Company Names arranged in descending alphabetical order: Sort in ascending order Click the Customer ID column header to highlight the column.

  1. On the Toolbar, click the (Sort Ascending) icon.

  2. The Customers table should now look like this, with the

  customer ID numbers arranged in ascending order: Filter records Click in the State field for Pete’s Moss.

  1. Notice that the State is Virginia.

  On the Toolbar, click the (AutoFilter) icon.

  2. The Customers table should now look like this, showing all

  customers whose State is Virginia: On the Toolbar, click the (Remove Filter) icon.

3. The Customers table should show its original contents:

  On the Menu Bar, click File, then Close to return to the 4. database window.

  FlowerStore

  When to filter Filtering records works like a query, bringing up specific information from a table.

  But unlike a query, your filtering doesn’t remain part of the database. When you perform a query and save it, the query remains with the database, even after you close it. Filtering does not.

  Since you can’t save filtering like a query, filter records when you need quick results. Think of filtering as a temporary, quick, “on the spot” query.

  Create table relationships

  What are “relationships?” Relationships are links that associate a field in one table with a field in another.

  An example is a school database with two tables:

  • Students • Classes The Students table holds students’ names and addresses:

  Students Student Name Address John Elm St.

  Jane Oak St.

  The Math Class table holds information about the students in math class:

  Math Class Student Name Grade

  John A Jane B

  Both tables have a Student Name field. By linking the Student Name fields, you make sure that John in the Students table is the same John listed in the Math Class table:

  Students Math Class Student Name Address Student Name Grade

  John John Jane Jane Examine current table relationships On the Menu Bar, click Tools, then Relationships.

  1. When the Add Tables window appears, double-click 2.

  Customers .

  The Customers table should appear in the Relationships work area: In the Add Tables window, double-click Employees.

3. The Employees table should appear in the Relationships work

  area:

  4. Double-click Order Details.

  5. Double-click Orders.

  6. Double-click Products.

  7. In the Add Tables window, click the button.

  The relationships window should now look like this: Add relationships

  Place the cursor on the Title Bar at the top of the Employees 1. table.

  Click and drag the Employees table to place it under the 2.

  Customers table.

  Click and drag the Orders table to place it between the 3.

  Customers table and Order Details table.

  Click the Order ID field in the Order Details table, then drag it 4. and rest it on top of the Order ID field in the Orders table.

  The Orders table should look like this: Release the mouse button.

  5. The relationships window should now look like this:

  The Order ID field in the Orders table is linked to the Order ID field in the Order Details table.

  The same Order ID number in both tables refers to the same order.

  On the Menu Bar, click File, then Close to return to the 6.

  FlowerStore database window.

  When the alert window appears, click the button.

  7. On the Menu Bar, click File, then Exit.

  8.

  

Practice: Working with Tables

Start Base.

  1. Open the Library database in the Practice Base Files folder.

  2. Create a new table in Design View.

  3. Add the following fields in the new table (data type in 4.

  parentheses):

  Author ID (Autonumber) Author Name (Text) Good Author? (Yes/No) Set the Author ID field as the key field.

  5. The table design should look like this: Save the table as Authors, then close it.

  6. Open the Books table and view it in Design View.

  7. Change the name of the Author field to Author ID.

  8. Set its data type to Integer.

  9. Change the data type of the Date Purchased field to Date/Time, and its format to 12/31/99.

  10. Save the Books table, then close it.

  Tip: An alert window will appear saying there was an error, due to changing the Date Purchased data type. Z Click the button.

  11. Open the Relationship design window.

  12. Add the two tables: Books and Authors.

  13. Link the Author ID fields of the Author and Books tables.

  When you’re done, it should look like this: Close the Relationship design window and save the changes.

14. Exit Base.

  15.

  Working with Forms In this section, you’ll learn how to:

  • Modify forms
  • Add/delete records
  • Edit records
  • Find records
  • Filter records

  Modify forms 1.

  Start Base, then open the FlowerStore database.

2. In the Database list, click Forms.

  3. Right-click Customer Form.

  4. When the menu opens, click Edit.

  Tip: Clicking Edit opens the form in Writer. The form should look like this in Writer: Change field position Click the Address 2 box to select it.

  1. Position the cursor over the Address 2 box.

  2. It should turn into a four-arrow “move” cursor:

  Click-and-drag the box to line it up with the other boxes.

3. Release the mouse button.

  The form should now look like this:

  Add/delete records Add a new record Click the icon to toggle the view.

  1. Click the (New Record) button.

  2. Fill in the following information: Amy Moore Gifts & Buds 1214 Maryland Ave. Suite 13 Washington, DC 20001 2025556113 2025556114

  Click the button to save the record and advance to a new 3. one. Delete records

  Click the button to go back to record number 6, the one you 1. just added.

  On the Toolbar, click the (Delete Record) icon.

2. When the alert window appears, click the button.

  3.

  Edit records Navigate to a specific record number Click in the Record box.

  1. Highlight the current record number, then type: 2.

  2 Press the ENTER key.

  3. The form should now show record number 2: Edit data in a record Delete the contents of the Street Address field.

  1. Type: 2.

  476 New York Ave.

  Press the TAB key.

  3. The record should look like this:

  Find records 1.

  Click the button.

  2. Click in the Company Name box to place the cursor there.

  3. On the Toolbar, click the icon.

  When the Record Search window appears, type: 4.

  Floral in the Search for Text box.

  Click the button.

5. The window should look like this: Click the button.

  6.

  Filter records 1.

  Click in the State box.

2. On the Toolbar, click the (Autofilter) icon.

  The form should now look like this: Tip: Notice the number of records now reads 1 of 2.

  On the Toolbar, click the icon.

  3. On the menu bar, click File, then Close.

  4. When the Alert window appears, click the button.

  The database window should now look like this: On the Menu Bar, click File, then Exit to close Base.

  5.

  

Practice: Working with Forms

  Open a web browser and go to: 1.

  www.visibooks.com/books/base2

  Right-click the Library2.odb link, and save the database in the 2.

  Practice Base Files folder.

  Close the browser and start Base.

  3. Open the Library 2 database.

  4. Using the Form Wizard, create a new form based on the 5.

  Authors table, using all the fields.

  Save the form as Author Information Input.

  6. Using the form, enter information for John Grisham: 7.

  Author ID: (Autonumber) Author Name: John Grisham Good Author? Yes Close the form.

  8. Open the Author table to check that John Grisham’s information 9.

  was entered. Close the Author table.

  10.

11. Exit Base.

  

Working with Queries

In this section, you’ll learn how to:

  • Create queries
  • Sort results
  • Add criteria
  • Employ Boolean operators

  Create queries 1.

  Start Base, and open the FlowerStore database.

  2. In the Database list, click Queries.

  3. Click Create Query in Design View.

  The Query Design window should appear: In the Add Tables window, click Customers.

4. Then click the button.

  Click the button.

  5.

  This adds the Customers table to the query. The query window should look like this: Add fields to query 1.

  Click the arrow in the first column’s Field box.

2. When the list appears, click Customers.Customer ID.

  The query design grid should look like this: Drag the First Name field from the Customers table to the 3. second column of the query design grid.

  Release the mouse button. The First Name field should appear in the design grid: Drag the Last Name field to the design grid.

4. The design grid should look like this:

  The query is now set up to show the Customer ID, First Name, and Last Name of each customer in the Customers table. Run the query On the Toolbar, click the icon.

1. The query window should now look like this:

  The query shows the Customer ID, First Name, and Last Name of each customer in the Customers table:

  Sort results In the Last Name field, click in the Sort row.

1. When the drop-down arrow appears, click it, then click Ascending .

  It should look like this: On the Toolbar, click the icon.

2. The query should run, and sort the records alphabetically by

  Last Name :

  In the Last Name field, click in the Sort row, then click (not 3.

  sorted).

  It should look like this:

  Add criteria 1.

  In the query’s Customer table, scroll down to the State field.

  2. Add the State field to the query design grid.

  3. In the State field, click in the Criterion row.

  Type: 4.

  VA Press the ENTER key.

5. It should look like this:

  Tip: Notice that Base automatically surrounded the VA criterion with quotes. That’s because the State field stores text data. In database query language, quotes signify a string of text. If the field stored number data, Base wouldn’t have added anything.

  On the Toolbar, click the icon.

6. The query results should look like this: It has returned all customers who live in the State of VA.

  Employ Boolean operators

  What are Boolean operators? Boolean operators are expressions such as AND, OR, NEITHER, and NOR that allow you to add multiple criteria to a query. They take their name from George Boole, the mathematician who first used them.

  If you had a T-shirt store with an Base database, for instance, and you wanted to find out how many of your California customers had ordered blue T-shirts, you’d employ the AND operator in your query: customers from California

  AND

  who also bought blue T-shirts If you wanted to see how many customers were from California (these California customers could have bought T-shirts of any color), and how many customers bought blue T-shirts (these blue T-shirt customers could be from anywhere), you’d employ the OR operator: customers from California

  OR

  customers who bought blue T-shirts

  Employ the OR operator In the State field, click in the Or row under the criterion VA.

1. Type: 2.

  MD then press the ENTER key.

  The design grid should look like this: Tip: The two common Boolean operators are AND and OR. They’re easily confused. If you don’t know which to use, ask yourself the purpose of the query: Do I want to find customers with a state of both Virginia AND Maryland? No—a customer can’t be in two places at once.

  Do I want to find customers with a state of either Florida OR Maryland? That makes sense, so this query would use the OR operator.

  Click the icon.

3. The query results should look like this:

  Employ the AND operator 1.

  Remove the query criteria from the State field. Tip: Highlight them, then press the DELETE key. The design grid should be blank: 2.

  Add the Company Name field to the query: Drag it from the field list in the Customers table and drop it in the blank field to the right of the State field. In the Company Name field, click in the Criterion row.

  3. Type: 4.

  LIKE A* then press the ENTER key.

  Tip: An asterisk (*) stands for any character or combination of characters. For instance, Ap* would match Ape, Aptitude,

  Apparent , etc.

  The LIKE keyword is used to search for a pattern. Click the icon.

  5. The query results should look like this: The query shows all companies whose names begin with A.

  On the Menu Bar, click File, then Save.

  6.

  When the Save As window appears, type: 7.

  Companies that begin with A in the Query Name box.

  Click the button.

  8. On the Menu Bar, click File, then Close.

  9. You should return to the FlowerStore database window.

  Exit the database and close Base.

  10.

  Practice: Working with Queries 1.

  Start Base.

  2. Open the Library 2 database.

  3. Create a new query in Design view based on the Authors table.

  4. Add all the fields to the design grid.

  5. Sort Authors Names in Ascending order.

  6. Add the criteria Yes to the Good Author field.

  7. Run the query.

  Its results should look like this: 8.

  Close the query, saving it as Good Authors.

9. Exit Base.

  Glossary Boolean Operators Boolean logic is a system of logical thought developed by George Boole.

  Boolean operators allow you to construct complex queries which can be understood by computers. The most common Boolean operators are “AND” and “OR”.

  Data

  A series of facts. When data is organized, it becomes useful information, which can be processed and used to draw conclusions.

  Database A collection of information organized into tables of data. Field A single unit of data stored as part of a database record. Form A database object primarily used to enter or display data. Key Field

  A field in a table that can contain no duplicates. The key field is each record’s unique identifier.

  Query A set of questions presented to a database to retrieve specific information. Record

  One row in a given table. In a relational database, records correspond to rows in each table.

  Relationship An association established between common fields in two tables.

  Report

  Presents information retrieved from a table or query in a preformatted, easy-to-read way.

  Select Query

  A query that asks a question about the data stored in tables, and provides a result in the form of a datasheet.

  Table A collection of rows and columns that organize data. Update Query A query that changes a set of records according to specified criteria.

  Where to Get Visibooks

  If you liked using this book, and would like to use more like it, visit: www.visibooks.com Visibooks offers more than 30 titles on subjects such as:

  • Computer Basics Microsoft Office Desktop Linux OpenOffice.org
  • Web Site Layout Web Graphics Web Programming

  Visibooks: the simplest way to learn and teach computer subjects.

  www.visibooks.com


Dokumen baru

PENGARUH PENERAPAN MODEL DISKUSI TERHADAP KEMAMPUAN TES LISAN SISWA PADA MATA PELAJARAN ALQUR’AN HADIS DI MADRASAH TSANAWIYAH NEGERI TUNGGANGRI KALIDAWIR TULUNGAGUNG Institutional Repository of IAIN Tulungagung

58 1234 16

PENGARUH PENERAPAN MODEL DISKUSI TERHADAP KEMAMPUAN TES LISAN SISWA PADA MATA PELAJARAN ALQUR’AN HADIS DI MADRASAH TSANAWIYAH NEGERI TUNGGANGRI KALIDAWIR TULUNGAGUNG Institutional Repository of IAIN Tulungagung

21 346 43

PENGARUH PENERAPAN MODEL DISKUSI TERHADAP KEMAMPUAN TES LISAN SISWA PADA MATA PELAJARAN ALQUR’AN HADIS DI MADRASAH TSANAWIYAH NEGERI TUNGGANGRI KALIDAWIR TULUNGAGUNG Institutional Repository of IAIN Tulungagung

21 285 23

PENGARUH PENERAPAN MODEL DISKUSI TERHADAP KEMAMPUAN TES LISAN SISWA PADA MATA PELAJARAN ALQUR’AN HADIS DI MADRASAH TSANAWIYAH NEGERI TUNGGANGRI KALIDAWIR TULUNGAGUNG Institutional Repository of IAIN Tulungagung

4 197 24

PENGARUH PENERAPAN MODEL DISKUSI TERHADAP KEMAMPUAN TES LISAN SISWA PADA MATA PELAJARAN ALQUR’AN HADIS DI MADRASAH TSANAWIYAH NEGERI TUNGGANGRI KALIDAWIR TULUNGAGUNG Institutional Repository of IAIN Tulungagung

16 268 23

KREATIVITAS GURU DALAM MENGGUNAKAN SUMBER BELAJAR UNTUK MENINGKATKAN KUALITAS PEMBELAJARAN PENDIDIKAN AGAMA ISLAM DI SMPN 2 NGANTRU TULUNGAGUNG Institutional Repository of IAIN Tulungagung

25 363 14

KREATIVITAS GURU DALAM MENGGUNAKAN SUMBER BELAJAR UNTUK MENINGKATKAN KUALITAS PEMBELAJARAN PENDIDIKAN AGAMA ISLAM DI SMPN 2 NGANTRU TULUNGAGUNG Institutional Repository of IAIN Tulungagung

18 331 50

KREATIVITAS GURU DALAM MENGGUNAKAN SUMBER BELAJAR UNTUK MENINGKATKAN KUALITAS PEMBELAJARAN PENDIDIKAN AGAMA ISLAM DI SMPN 2 NGANTRU TULUNGAGUNG Institutional Repository of IAIN Tulungagung

6 190 17

KREATIVITAS GURU DALAM MENGGUNAKAN SUMBER BELAJAR UNTUK MENINGKATKAN KUALITAS PEMBELAJARAN PENDIDIKAN AGAMA ISLAM DI SMPN 2 NGANTRU TULUNGAGUNG Institutional Repository of IAIN Tulungagung

11 343 30

KREATIVITAS GURU DALAM MENGGUNAKAN SUMBER BELAJAR UNTUK MENINGKATKAN KUALITAS PEMBELAJARAN PENDIDIKAN AGAMA ISLAM DI SMPN 2 NGANTRU TULUNGAGUNG Institutional Repository of IAIN Tulungagung

18 385 23