|
Introduction to Microsoft Access 2003
Welcome! In this hands-on workshop, you're going to learn how to build and manipulate a Microsoft Access database. For best results, I recommend that you print this and all subsequent lessons before working through the exercises. When you're done with each lesson, you'll definitely want to store it with the others in a folder or three-ring binder for future reference. IntroductionBefore we can start working with a database application like Microsoft Access, we need to understand specifically what a database is and what it can do for you. Microsoft defines a database as "a collection of interrelated tables, records, fields, forms, queries, reports, pages, macros, and modules." That definition tells us that a database is not really a single entity, but a collection of many different interrelated components. Once you understand the function of each component that makes up a database, you will be better able to understand the capabilities of a database program like Microsoft Access. As such, I would like to begin this course by briefly describing each of the important database components that appear in Microsoft's definition of a database:
Once you have a basic understanding of what these components are and what they do, we will spend the rest of our time together learning how to assemble many of these components into a finished database. Tables Tables are used to store all of the information you might want to hold in a database.
![]()
A table is essentially a storage bin for information. Records and Fields All of the information you stuff into a table doesn't just land haphazardly all over the place for you to sort through later. That wouldn't be good. Instead, the table carefully organizes any information you feed it into orderly columns and rows. However, Microsoft does not use the word column or the word row when referrring to these organizing devices. Instead, one row of information in a table is known as a record. And one column of information is known as a field. For example, if you'd like to use an Access database to help you keep track of your customers' names and addresses, you'd need to first set up a table to hold this information. As I recently mentioned, this table will organize that information into neat columns and rows. One column or, better yet, field in your table will be devoted to nothing but customer names. Another field in your table will be dedicated to storing the cities in which each of your customers live. And a third field might hold nothing but customer phone numbers. Additional fields in the table might hold street addresses, states, zip codes, job titles, and any other types of information you feel are relevant. Each row or, more correctly, record in your table would hold all of the fields for one specific customer. The first record would hold the name, street address, city, state, zip, phone number, e-mail address, and job title for your very first customer. The second record would contain the very same information for customer number two, and so on. To summarize, a database is made up, at least in part, of tables. In turn, a table is made up of a number of individual records. And each record is made up of fields. If you'd like, you can think of a database as a big automated file cabinet. A table would be like a drawer in that file cabinet. A record would be like an individual folder in that drawer. And a field would be equivalent to the contents of that folder. Forms Forms are used to simplify and enhance the data entry experience. While it is possible to type information directly into a table, it isn't pleasant. When working with tables, it can be difficult to see all of the fields you're working with at once. You usually have to do a lot of back and forth scrolling in order to move from column to column. This scrolling activity can slow data entry down significantly. Tables also tend to show you several records at a time, and they make it far too easy for you to accidentally slip from one record to the next. This can lead to serious errors. I can't count the number of times I've caught myself entering information on the wrong row of my table! Unlike tables, forms provide you with a delightful data entry environment. A data entry form can be asked to display all of your table fields on one screen, totally eliminating the need to scroll. Most forms will also display only one record at a time, reducing the risk that you'll inadvertently make changes to the wrong record. Queries Queries are used to extract or rearrange information in your tables in a way that makes better sense to you or helps you answer a question. For example, suppose you have a table of customer names, addresses, and other contact information. You can use queries to obtain any of the following lists:
These are just a few examples of the types of queries that you could perform on such a table. In reality, queries can be used to filter and sort your tables in an almost infinite number of ways. Examples of queries abound in everyday life:
Computer databases are ideal repositories for information because they can help us sort and locate the information we need far more quickly and efficiently than a box, a bulletin board, a desk drawer, a filing cabinet, or any other storage device. Queries are the primary tool we use to find and extract information from a database. I can think of no better reason to use a database than the fact that a database allows you to query your data. A database gives you the ability to sift through hundreds, thousands, or even millions of records to extract just the information you need--and all in a matter of seconds! Just try and do that with a paper-based filing system. Reports In general, reports contain the same information you'd find in your tables and queries. However, while tables and queries are generally optimized for display on a screen, reports are made to be printed on paper. Any time you need a summary of table or query data custom formatted for your printer, you'll want to create a report. Most reports also come with mathematical capabilities, which gives you the opportunity to include subtotals, totals, and other calculations on your printed copy. Pages A page is similar to a report, except that it will be formatted for display not on paper, but for display and distribution across the Internet. Macros Macros are used to automate tedious tasks that you frequently perform. You can create macros that will allow you to add records to a form, run a query, or create a report with little more than a click of your mouse. Modules Modules are sophisticated routines you can write to add decision-making capabilities to your database. Modules can also carry out complicated and repetitive procedures that would take us a long time to perform manually. A module is essentially a small computer program written in a language called Visual Basic. They're not used too frequently, and we won't talk much about them in this course. |
resources | lessons | quizzes | assignments | discussion | completion
|
Course content © Education To Go. All rights reserved. Reproduction or redistribution of any course material without prior written permission is prohibited. |