Access 2003 All-in-One Desk Reference For Dummies

( 2 )

Overview

9 books in 1 one great price for nine handy guides Your one-stop guide to building databases and managing information with Access 2003 Think of this book as the ultimate user-friendly Access companion, loaded with information that s simple to find. It will have you creating and using a database in no time, and the self-contained minibooks include information that works for Access 2000, 2002, and 2003. From storing, organizing, and sharing data to customizing databases with VBA, it gives you easy Access. The ...

See more details below
Paperback
$25.48
BN.com price
(Save 15%)$29.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (62) from $1.99   
  • New (10) from $1.99   
  • Used (52) from $1.99   
Sending request ...

Overview

9 books in 1 one great price for nine handy guides Your one-stop guide to building databases and managing information with Access 2003 Think of this book as the ultimate user-friendly Access companion, loaded with information that s simple to find. It will have you creating and using a database in no time, and the self-contained minibooks include information that works for Access 2000, 2002, and 2003. From storing, organizing, and sharing data to customizing databases with VBA, it gives you easy Access. The Dummies Way Coverage of the essentials and beyond Explanations in plain English "Get in, get out" information Thumbtabs and other navigation aids Tear-out cheat sheet A dash of humor and fun

Read More Show Less

Editorial Reviews

From the Publisher
“…clear explanations in plain English, and a bit of fun and humour…” (WWB, January 2005)
Read More Show Less

Product Details

  • ISBN-13: 9780764539886
  • Publisher: Wiley
  • Publication date: 9/29/2003
  • Series: For Dummies Series
  • Edition number: 1
  • Pages: 840
  • Sales rank: 871,110
  • Product dimensions: 7.32 (w) x 9.36 (h) x 1.81 (d)

Meet the Author

Alan Simpson is the author of over 80 computer books on allsorts of topics: Windows, databases, Web site design anddevelopment, programming, and network administration. His books arepublished throughout the world in over a dozen languages and havemillions of copies. When not building computers or writing booksabout them, Alan eats or sleeps. He doesn’t have a fancy jobtitle, because he’s never had a real job, and stilldoesn’t know how to tie a tie.

Margaret Levine Young has co-authored several dozencomputer books about the Internet, UNIX, WordPerfect, Access, and(stab from the past) PC-File and Javelin, including The InternetFor Dummies (published by Wiley Publishing, Inc.) andWindows XP Home Edition: The Complete Reference (publishedby Osborne/McGraw-Hill). She met her future husband Jordan in theR.E.S.I.S.T.O.R.S., a high-school computer club before there werehigh school computer clubs. Her other passions are her children,music, Unitarian Universalism (www.uua.org), reading, and anythingto do with cooking or eating.

Alison Barrows has authored or co-authored books onWindows, the Internet, Microsoft Access, WordPerfect, Lotus 1-2-3,and other topics. In addition to writing books, Alison writes andedits technical documentation and training material. She holds aB.A. in International Relations from Wellesley College and anM.P.P. from Harvard University. In real life she hangs out with her“guys” — Parker, 3, and Mason, 1, and tries tocarve out some time to practice yoga. Alison lives with her familyin central Massachusetts.

Read More Show Less

Table of Contents

Introduction.

Book I: Essential Concepts.

Chapter 1: Introducing Access 2003.

Chapter 2: Getting Started, Getting Around.

Chapter 3: Designing Your Database the Relational Way.

Book II: Tables.

Chapter 1: Creating and Modifying Tables.

Chapter 2: Entering and Editing Data in Datasheets.

Chapter 3: Sorting, Finding, and Filtering Data.

Chapter 4: Importing and Exporting Data.

Chapter 5: Avoiding “Garbage In, Garbage Out”.

Chapter 6: Protecting Your Data with Referential Integrity.

Book III: Queries.

Chapter 1: Creating Select Queries.

Chapter 2: Letting Queries Do the Math.

Chapter 3: Doing Neat Things with Action Queries and QueryWizards.

Chapter 4: Viewing Your Data from All Angles Using Crosstabs andPivotTables.

Book IV: Forms.

Chapter 1: Designing and Using Forms (And Reports).

Chapter 2: Jazzing Up Your Forms (And Reports).

Chapter 3: Creating Smarter Forms.

Chapter 4: Doing Calculations in Forms (And Reports).

Book V: Reports.

Chapter 1: Creating and Spiffing Up Reports.

Chapter 2: Printing Beautiful Reports.

Chapter 3: Creating Charts and Graphs from Your Data.

Book VI: Macros: Automating Stuff in Access.

Chapter 1: Making Macros Do the Work.

Chapter 2: Making Macros Smarter.

Book VII: Database Administration.

Chapter 1: Database Housekeeping.

Chapter 2: Sharing the Fun — and the Database: ManagingMulti-User Access.

Chapter 3: Securing Your Access Database.

Book VIII: Programming in VBA.

Chapter 1: What the Heck Is VBA?

Chapter 2: Writing Code.

Chapter 3: Writing Smarter Code.

Chapter 4: Controlling Forms with VBA.

Chapter 5: Using SQL and Recordsets.

Chapter 6: Debugging Your Code.

Chapter 7: Integrating Office Applications.

Book IX: Access on the Web.

Chapter 1: Creating Data Access Pages.

Chapter 2: Creating Access Projects.

Chapter 3: Introducing XML.

Appendix: Installing Microsoft Access.

Index.

Read More Show Less

First Chapter

Access 2003 All-in-One Desk Reference For Dummies


By Alan Simpson Margaret Levine Young Alison Barrows

John Wiley & Sons

ISBN: 0-7645-3988-4


Chapter One

Introducing Access 2003

In This Chapter

  •   Getting a handle on Microsoft Access
  •   Listing the eight types of Access objects
  •   Laying out some essential database concepts

Access is the Microsoft database management program, part of the Microsoft Office suite of programs. A database management program enables you to maintain databases - collections of data arranged according to a fixed structure. The structure makes the information easy to select, sort, display, and print in a variety of formats. With Access, you can create and maintain as many databases as you need - you can even share them with other people over a local area network or the Internet.

Access is a general-purpose program that works with almost any kind of information. A database can be as simple as a list of addresses to replace your card file. Or you can create a wine cellar database with information about each bottle in your cellar or a bookstore inventory database with information about books, publishers, customers, and special orders. Access can also handle complex databases that contain lots of types of information and lots of customized programming.

An Access database can contain lists of records about almost anything, from sales to sports scores. Unlike a spreadsheet program, Access makesdisplaying your information in lots of different formats easy, including alphabetical listings, formatted reports, mailing labels, and fill-in-the-blank forms.

Access 2003 comes with Microsoft Office 11. Previous versions of Access have also been part of the Office suite - Access 2002 in Office XP, Access 2000 in Office 2000, and Access 97 in Office 97. Because Access is part of Microsoft Office, sharing information with Word documents and Excel spreadsheets is easy. This book describes Access 2003, but except where noted, everything we say is true for Access 2000 and 2002, too.

Access includes a powerful programming language (VBA, described in the section, "Modules for writing your own programs," later in this chapter). And you can use Access to work with data stored in large corporate databases. These features make Access a great choice for creating front ends for corporate databases - which means you can use Access to edit, display, and print data from larger, shared databases, without having to do any programming.

The Eight Types of Access Objects

Access databases are made up of objects - things you can create, edit, and delete, with names and settings. Object-oriented systems allow you to create things one piece at a time, using pieces that fit together.

Access contains various kinds of objects, including objects for storing, displaying, and printing your data, as well as objects that contain programs that you write. At first, you'll probably use only a few types of objects, but as you customize your database, you may end up using them all. You start with tables for storing data, forms for editing data on-screen, reports for printing data, and queries for selecting and combining data. Later, you may create macros and modules, which contain programs that you write; projects, which work with corporate data; and data access pages, which allow you to edit Access data via a Web browser.

In this section, we cover each of the main types of Access objects: tables, queries, forms, reports, macros, modules, projects, and data access pages.

Tables for storing your data

Tables are where you put your data. A table is an Access object that is made up of a series of records, which are like the index cards that make up an address list. Each record contains information in the same format. In an address list, each record contains information about one person: name, address, and other facts. Each individual piece of information - such as the first name, the last name, or the street address - is called a field.

Your database can contain many tables. A bookstore database can contain a table of books (with title, publisher, price, and other information about each book), a table of vendors from whom you buy books (with company name, address, discount terms, and other information about each vendor), and maybe a table of your regular customers (with name, address, and other information). Figure 1-1 shows a table of names and addresses. Each row is a record, and the fields are shown in columns.

After you set up tables in your database and type in (or import) information, you can sort the records, select records that match a criterion, and then display and print the records.

Proper design of your tables - choosing how many tables to create and which fields are stored in which table - is key to creating a usable and flexible database. Chapter 3 of this book includes a step-by-step procedure for designing your database, and Book II explains how to create tables and fill them with data.

Queries for selecting your data

Queries are a means to slice and dice your data. The most commonly used type of query helps you select data from a table, perhaps to select which records you want to include in a report. You can create a query that shows you all the people in your address book who live in Vermont, or all those for whom you don't have a phone number. When you create this type of query, you enter criteria that specify what values you want to match in specific fields in the tables (for example, VT in the State field, or nothing in the Phone Number field, or both).

You can also use queries to combine information from several tables. A bookstore database may store book author names in the Books table and book ordering information in the Purchase Orders table. A query can pull information from both of these tables - you can create a query to show all the Terry Pratchett novels that you ordered for the last month, for example. Queries can also create calculated fields, including totals, counts, and averages.

Another type of query is the action query, a query that does something to the records that you select. You can create action queries to copy records from one table to another, to make a change to all the records you select, or to delete records you select. Crosstab queries help you analyze the information in your tables, by summarizing how many records contain specific combinations of values.

Queries are the way that you get useful information out of your tables, and you'll probably create zillions of them as you play with your database. Book III explains how to create and use queries of all kinds.

Forms for editing and displaying your data

An easy way to do data entry, especially if you enter data into more than one related table, is to use a form. A form displays the information from one or more tables on-screen. You can edit the data or type in new records. You can choose the layout of the table's information on the form - you can specify the order in which the items appear, you can group items together with lines and boxes, and you can use pull-down lists, radio buttons, and other types of on-screen controls for entering and editing data. The form in Figure 1-2 shows information from the Product table of an online store.

You can build intelligence into forms, too - you can program boxes that automatically capitalize what you type in, or that check your entry against a table of valid values.

After your database goes into production - you use it for its intended application - forms are the most-used Access object. Book IV explains how to design, create, modify, and use forms.

Reports for printing your data

Forms are primarily designed to appear on-screen; reports are designed for printing, as shown in Figure 1-3. Like forms, reports display information from tables, and you can choose the layout of the information. Most reports are based on queries; you use a query to choose the information to appear in the report. The report design defines the order in which records appear, which fields appear where, fonts, font sizes, lines, and spacing.

In addition to reports on normal paper, you can create reports for printing on envelopes, labels, or other printed forms. Access comes with report wizards that make creating fancy reports easy. It can also print charts and cross-tabulations (crosstabs) based on the data in your database.

Book V covers how to create and print reports, charts, and crosstabs.

Macros for saving keystrokes

Access includes two separate programming languages: macros and VBA. Macros are programs that automate commands you give when you use Access. For example, you can write a macro that moves the cursor to the last record in the Orders table whenever you open the Order Entry form. (What are the chances that you want to edit your very first order? More likely, you want to edit the last order or enter a new order.) Or you can write a macro that moves your cursor to the next applicable blank in a form, based on the entries you made so far.

After you know how to create macros, you can create buttons on your forms that run the macros with a quick click. You can also tell your form to run a macro automatically whenever you move to a field on the form, or enter data into the field - handy!

You don't have to be a programmer to create macros. Access helps you write them by providing menus of commands. Book VI explains how to create nifty and useful macros to clean up your data entry and a number of items automatically.

Modules for writing your own programs

Okay, now we come to the serious programming stuff: modules - another term for VBA programs. VBA (Visual Basic for Applications) is a programming language based on the age-old BASIC language. Macros are fine for saving a few keystrokes or cleaning up the data you enter in a field, but when the going gets complex, you can use VBA.

Say you receive orders for your online store via e-mail messages in a specific format. You can write a VBA program to read these e-mail messages from your e-mail mailbox and create records in your Orders table. Why cut and paste when a VBA program can do the job? Or you could write a VBA program to be called when you click the Ship This Order button on your Orders form: The program prints a packing slip, prints a mailing label, updates your inventory numbers, and generates an e-mail message to the customer. Why should you remember to do all those tasks when a VBA program can do them all?

Programming isn't for the faint of heart, but when you have the rest of your database up and running, take a look at Book VIII for an introduction to VBA programming. Writing small programs is not hard, and after you get used to programming, who knows what you'll end up creating!

Projects for accessing shared databases

If you're not a corporate user (or part of some large organization), skip this one - you'll never use the special databases called projects. Still here? Fine. An Access project is a special type of database in which the actual data you normally store in your Access tables goes to a large corporate database, to be stored there instead. Your Access project file contains only your tools - the forms, reports, pages, macros, and VBA modules you need for creating or modifying projects. You connect to the corporate database to get your data from the corporate database's tables and queries.

The great thing about Access projects is that they give you a consistent way to use Access effectively when you work with corporate data. Instead of having to learn the ins and outs of database programming with some large, scary program, you can use Access forms and pages to look at the data and reports to print it out.

Book IX, Chapter 2 walks you through creating an Access project. You need to get information about your organization's database from your Information Services department, including a password to give you permission to use the files.

Pages for editing data in your Web browser

Forms are great for entering and editing data, but you have to be running Access to use them. What if you want non-Access folk to work with the information in your database? Pages (or data access pages) enable you to create Web pages containing forms, so anyone with the Internet Explorer browser can edit records in the tables in your database. Anyone, that is, with permission to do so - you need to set up the security features to control who can look at and change your information.

Book IX, Chapter 1 talks about pages and how to make them. After you create pages for use with your database, you also find out how to upload them to your Web server so that other people can use the pages. Book VII, Chapter 3 describes the Access security features to control who has permission to see or change each field in each table.

Essential Database Concepts

Here are the Four Commandments of databases. (Aren't you relieved there aren't 10?). You'll find lots more important rules and guidelines throughout this book as you discover how to work with various Access objects, but here are some that apply right from the start, no matter what kind of database you are using.

* Store information where it belongs, not where it appears. Where you store information has nothing to do with where it appears. In a database, you store information in tables based on the structure of the information. (Don't worry - Chapter 3 of this book explains how to figure out the structure of your data.) Each piece of information likely appears in lots of different places. For example, in a database for an online bookstore, book titles and authors' names appear on your invoices, purchase orders, and sales receipts. But the right place to store those book titles and author names is in the Books table, not in the Sales table or the Purchase Orders table.

* Garbage in, garbage out (GIGO). If you don't bother to create a good, sensible design for your database, and if you aren't careful to enter correct, clean data, your database ends up full of garbage. A well-designed database is easier to maintain than a badly designed one, because each piece of information is stored only once, in a clearly named field in a clearly named table, with the proper validation rules in place. Yes, it sounds like a lot of work, but cleaning up a database of 10,000 incorrect records is (pardon the understatement) even more work. See Book II, Chapter 5 for ways to avoid GIGO.

* Separate your data from your programs. If you create a database to be shared with or distributed to other people, store all the tables in one database (the back end) and all the other objects in another database (the front end).

Continues...


Excerpted from Access 2003 All-in-One Desk Reference For Dummies by Alan Simpson Margaret Levine Young Alison Barrows Excerpted by permission.
All rights reserved. No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher.
Excerpts are provided by Dial-A-Book Inc. solely for the personal use of visitors to this web site.

Read More Show Less

Customer Reviews

Average Rating 3.5
( 2 )
Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted August 14, 2006

    Not bad

    This book does cover a lot and teaches you from the ground up, especially if you had never used Access before. However, they can improve on their explanations at times. There were instances where I thought that they go so basic as to saving a file, and other times where they leave difficult processes so vague. The diagrams in the book walk you through the text and are very helpful, however, they should have provided electronic versions so you dont have to invent some tables before you can mess around with Queries and other practices. If you are very familiar with Excel, as I am, and it is your first time looking into Access, it takes a while before you can find some applications of Access that Excel cannot handle. Access is hard to teach, so I can say that this book puts in a good effort.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 4, 2005

    A brave attempt

    Keep in mind: I absolutely hate MS Access for being non-intuitive, dense, and frustrating for anyone but a programmer. Given that, the authors make a brave attempt to explain Access and their book has been enormously helpful to me. Still, certain basic concepts never quite get explicated as a 'dummy' would like. I still don't know how to put a picture on a form or to get fields to fill in 'automagically.' The book tells me it can be done, but it stops shorting of showing me exactly how. Getting precise instructions from this book is often like getting directions from a Vermont farmer who assumes that you know 'where the old church used to be' or 'where Joe's brother got struck by lightning.' It often points me in the right direction without quite getting me where I want to go.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)