Book description
The expert guidance you need to get the most out of Access 2010
Get the Access 2010 information you need to succeed with this comprehensive reference. If this is your first encounter with Access, you'll appreciate the thorough attention to database fundamentals and terminology. If you're familiar with earlier versions, you can jump right into Access 2010 enhancements such as the new Access user interface and wider use of XML and Web services.
Takes you under the hood of Microsoft Access 2010, the database application included with Microsoft Office 2010
Explores the latest enhancements, such as a new user interface and wider use of XML and Web services; also, how to exchange data with Word, Excel, PowerPoint, and other Office apps
Covers how to create tables, manipulate datasheets, and work with multiple tables
Explains the seven database objects and how to use a seven-step design method to build a database tailored to your needs
Shows you how to build forms, use Visual Basic and the VBA Editor, automate query parameters, create functions and subroutines, use XML to create data access pages, and more
Includes a CD with all source code from the book and working examples, plus bonus shareware, freeware, trial, demo and evaluation programs that work with or enhance Microsoft Office
You’ll want to keep this soup-to-nuts Access reference close at hand!
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- About the Author
- About the Technical Editor
- Credits
- Acknowledfments
- Introduction
-
I. Access Building Blocks
- 1. An Introduction to Database Development
-
2. Creating Access Tables
- 2.1. Getting Started with Access
- 2.2. Creating a Database
- 2.3. The Access 2010 Environment
- 2.4. Creating a New Table
- 2.5. Creating tblCustomers
-
2.6. Changing a Table Design
- 2.6.1. Inserting a new field
- 2.6.2. Deleting a field
- 2.6.3. Changing a field location
- 2.6.4. Changing a field name
- 2.6.5. Changing a field size
- 2.6.6. Handling data conversion issues
- 2.6.7. Assigning field properties
- 2.7. Understanding tblCustomers Field Properties
- 2.8. Setting the Primary Key
- 2.9. Indexing Access Tables
- 2.10. Printing a Table Design
- 2.11. Saving the Completed Table
- 2.12. Manipulating Tables
- 2.13. Adding Records to a Database Table
- 2.14. Understanding Attachment Fields
- 2.15. Summary
-
3. Designing Bulletproof Databases
- 3.1. Building Bulletproof Databases
- 3.2. Data Normalization
- 3.3. Table Relationships
- 3.4. Integrity Rules
- 3.5. Keys
- 3.6. Summary
-
4. Selecting Data with Queries
- 4.1. Introducing Queries
- 4.2. Creating a Query
- 4.3. Adding Fields
- 4.4. Displaying the Recordset
- 4.5. Working with Fields
- 4.6. Changing the Sort Order
- 4.7. Displaying Only Selected Records
- 4.8. Printing a Query's Recordset
- 4.9. Saving a Query
- 4.10. Creating Multi-Table Queries
- 4.11. Working with the Table Pane
- 4.12. Creating and Working with Query Joins
- 4.13. Understanding Table Join Types
- 4.14. Summary
-
5. Using Operators and Expressions in Access
- 5.1. Introducing Operators
- 5.2. Using Operators and Expressions in Queries
- 5.3. Entering Single-Value Field Criteria
- 5.4. Using Multiple Criteria in a Query
- 5.5. Entering Criteria in Multiple Fields
- 5.6. Summary
-
6. Working with Datasheet View
- 6.1. Understanding Datasheets
- 6.2. Looking at the Datasheet Window
- 6.3. Opening a Datasheet
- 6.4. Entering New Data
- 6.5. Navigating Records in a Datasheet
- 6.6. Changing Values in a Datasheet
- 6.7. Using the Undo Feature
- 6.8. Copying and Pasting Values
- 6.9. Replacing Values
- 6.10. Adding New Records
- 6.11. Deleting Records
-
6.12. Displaying Records
- 6.12.1. Changing the field order
- 6.12.2. Changing the field display width
- 6.12.3. Changing the record display height
- 6.12.4. Changing display fonts
- 6.12.5. Displaying cell gridlines and alternate row colors
- 6.12.6. Aligning data in columns
- 6.12.7. Hiding and unhiding columns
- 6.12.8. Freezing columns
- 6.12.9. Saving the changed layout
- 6.12.10. Saving a record
- 6.13. Sorting and Filtering Records in a Datasheet
- 6.14. Focusing on Special Features of Datasheets
- 6.15. Printing Records
- 6.16. Summary
-
7. Creating Basic Access Forms
- 7.1. Formulating Forms
-
7.2. Working with Controls
- 7.2.1. Categorizing controls
- 7.2.2. Adding a control
- 7.2.3. Selecting and deselecting controls
-
7.2.4. Manipulating controls
- 7.2.4.1. Resizing a control
- 7.2.4.2. Sizing controls automatically
- 7.2.4.3. Moving a control
- 7.2.4.4. Aligning controls
- 7.2.4.5. Modifying the appearance of a control
- 7.2.4.6. Grouping controls
- 7.2.4.7. Attaching (and reattaching) a label to a control
- 7.2.4.8. Changing a control's type
- 7.2.4.9. Copying a control
- 7.2.4.10. Deleting a control
- 7.3. Introducing Properties
- 7.4. Summary
-
8. Working with Data on Access Forms
- 8.1. Using Form View
- 8.2. Changing Values in a Form
- 8.3. Printing a Form
- 8.4. Working with Form Properties
- 8.5. Adding a Form Header or Footer
- 8.6. Changing the Layout
- 8.7. Creating a Calculated Control
- 8.8. Converting a Form to a Report
- 8.9. Summary
-
9. Presenting Data with Access Reports
- 9.1. Introducing Reports
-
9.2. Creating a Report, from Beginning to End
- 9.2.1. Defining the report layout
- 9.2.2. Assembling the data
-
9.2.3. Creating a report with the Report Wizard
- 9.2.3.1. Creating a new report
- 9.2.3.2. Selecting the grouping levels
- 9.2.3.3. Defining the group data
- 9.2.3.4. Selecting the sort order
- 9.2.3.5. Selecting summary options
- 9.2.3.6. Selecting the layout
- 9.2.3.7. Opening the report design
- 9.2.3.8. Adjusting the report's layout
- 9.2.3.9. Choosing a theme
- 9.2.3.10. Creating new theme color schemes
- 9.2.3.11. Using the Print Preview window
- 9.2.3.12. Publishing in alternate formats
- 9.2.3.13. Viewing the Report Design window
- 9.2.4. Printing or viewing the report
- 9.2.5. Saving the report
- 9.3. Banded Report Design Concepts
-
9.4. Creating a Report from Scratch
- 9.4.1. Creating a new report and binding it to a query
- 9.4.2. Defining the report page size and layout
- 9.4.3. Placing controls on the report
- 9.4.4. Resizing a section
-
9.4.5. Working with text boxes
- 9.4.5.1. Adding and using text-box controls
- 9.4.5.2. Entering an expression in a text control
- 9.4.5.3. Sizing a text-box control or label control
- 9.4.5.4. Deleting and cutting attached labels from text controls
- 9.4.5.5. Pasting labels into a report section
- 9.4.5.6. Moving label and text controls
- 9.4.5.7. Modifying the appearance of multiple controls
- 9.4.6. Changing label and text-box control properties
- 9.4.7. Growing and shrinking text-box controls
- 9.4.8. Sorting and grouping data
- 9.4.9. Sorting data within groups
- 9.4.10. Adding page breaks
- 9.5. Improving the Report's Appearance
- 9.6. Summary
-
II. Programming Microsoft Access
-
10. VBA Programming Fundamentals
- 10.1. Introducing Visual Basic for Applications
- 10.2. Understanding VBA Terminology
- 10.3. Starting with VBA Code Basics
- 10.4. Migrating from Macros to VBA
-
10.5. Creating VBA Programs
- 10.5.1. Events and event procedures
-
10.5.2. Modules
- 10.5.2.1. Looking at the types of modules
-
10.5.2.2. Creating a new module
- 10.5.2.2.1. Working in the code window
- 10.5.2.2.2. The declarations section
- 10.5.2.2.3. Creating a new procedure
- 10.5.2.2.4. Using IntelliSense
- 10.5.2.2.5. Compiling procedures
- 10.5.2.2.6. Saving a module
- 10.5.2.2.7. Creating procedures in the form or report design window
- 10.5.2.2.8. Editing an existing procedure
- 10.5.2.2.9. Checking your results in the Immediate window
- 10.6. Understanding VBA Branching Constructs
- 10.7. Working with Objects and Collections
- 10.8. Looking at Access Options for Developers
- 10.9. Summary
- 11. Mastering VBA Data Types and Procedures
- 12. The Access Event Model
-
13. Accessing Data with VBA Code
- 13.1. Understanding SQL
- 13.2. Working with Data
- 13.3. Understanding ADO Objects
- 13.4. Understanding DAO Objects
- 13.5. Writing VBA Code to Update a Table
- 13.6. Summary
- 14. Debugging Your Access Applications
- 15. Using Access Data Macros
-
10. VBA Programming Fundamentals
-
III. More-Advanced Access Techniques
-
16. Working with External Data
- 16.1. Looking at How Access Works with External Data
- 16.2. Linking External Data
- 16.3. Working with Linked Tables
- 16.4. Using Code to Link Tables in Access
- 16.5. Summary
-
17. Importing and Exporting Data
- 17.1. Looking at Your Options for Importing and Exporting
-
17.2. Importing External Data
- 17.2.1. Importing from another Access database
- 17.2.2. Importing from an Excel spreadsheet
- 17.2.3. Importing a SharePoint list
- 17.2.4. Importing data from text files
- 17.2.5. Importing an XML document
- 17.2.6. Importing an HTML document
- 17.2.7. Importing Access objects other than tables
- 17.2.8. Importing an Outlook folder
- 17.2.9. Importing dBase tables
- 17.2.10. Troubleshooting import errors
- 17.3. Exporting to External Formats
- 17.4. Summary
-
18. Advanced Access Query Techniques
- 18.1. Using Calculated Fields
- 18.2. Calculated Fields and the Expression Builder
- 18.3. Counting Records in a Table or Query
- 18.4. Finding the Top (n) Records in a Query
- 18.5. How Queries Save Field Selections
- 18.6. Query Design Options
- 18.7. Setting Query Properties
- 18.8. Creating Queries That Calculate Totals
- 18.9. Creating Crosstab Queries
- 18.10. Understanding Action Queries
- 18.11. Summary
-
19. Advanced Access Form Techniques
- 19.1. Setting Control Properties
- 19.2. Working with Subforms
-
19.3. Designing Forms
- 19.3.1. Using the Tab Stop property
- 19.3.2. Tallying check boxes
- 19.3.3. Adding animation
- 19.3.4. Using SQL for a faster refresh
- 19.3.5. Selecting data for overtyping
- 19.3.6. Toggling properties with Not
- 19.3.7. Creating an auto-closing form
- 19.3.8. Setting up combo boxes and list boxes
- 19.3.9. Determining whether a form is open
- 19.4. Tackling Advanced Forms Techniques
- 19.5. Using the Tab Control
- 19.6. Using Dialog Boxes to Collect Information
- 19.7. Summary
-
20. Advanced Access Report Techniques
- 20.1. Grouping and Sorting Data
-
20.2. Formatting Data
- 20.2.1. Creating numbered lists
- 20.2.2. Adding bullet characters
- 20.2.3. Adding emphasis at runtime
- 20.2.4. Avoiding empty reports
- 20.2.5. Avoiding null values in a tabular report
- 20.2.6. Inserting vertical lines between columns
- 20.2.7. Adding a blank line every n records
- 20.2.8. Even-odd page printing
- 20.2.9. Using different formats in the same text box
- 20.2.10. Centering the title
- 20.2.11. Easily aligning control labels
- 20.2.12. Micro-adjusting controls
- 20.3. Adding Data
- 20.4. Trying More Techniques
- 20.5. Summary
-
21. Building Multiuser Applications
- 21.1. Working on a Network
- 21.2. Considering the Options for Opening a Database
- 21.3. Splitting a Database for Network Access
-
21.4. Finding the Key to Locking Issues
- 21.4.1. Access's built-in record-locking features
-
21.4.2. Record-lock error handling
- 21.4.2.1. Error 3260: Couldn't update; currently locked by user . . .
- 21.4.2.2. Error 3186: Couldn't save; currently locked by user x on machine y
- 21.4.2.3. Error 3188: Could not update; currently locked by another session on this machine
- 21.4.2.4. Error 3197: Data has changed; operation stopped
- 21.4.2.5. A function to handle lock errors
- 21.5. Reducing Multiuser Errors with Unbound Forms
- 21.6. Summary
-
22. Integrating Access with Other Applications
-
22.1. Using Automation in Access
- 22.1.1. Understanding how Automation works
- 22.1.2. Creating Automation references
- 22.1.3. Binding your VBA object variables to objects in the Automation interface
- 22.1.4. Creating an instance of an Automation object
- 22.1.5. Getting an existing object instance
- 22.1.6. Working with Automation objects
- 22.1.7. Closing an instance of an Automation object
-
22.2. Looking at an Automation Example Using Word
- 22.2.1. Creating an instance of a Word object
- 22.2.2. Making the instance of Word visible
- 22.2.3. Creating a new document based on an existing template
- 22.2.4. Inserting data
- 22.2.5. Activating the instance of Word
- 22.2.6. Moving the cursor in Word
- 22.2.7. Discarding the Word object instance
- 22.2.8. Inserting pictures by using bookmarks
- 22.2.9. Using Office's macro recorder
- 22.3. Collecting Data with Microsoft Outlook
- 22.4. Summary
-
22.1. Using Automation in Access
- 23. Handling Errors and Exceptions
-
16. Working with External Data
-
IV. Professional Database Development
-
24. Optimizing Access Applications
- 24.1. Understanding Module Load on Demand
- 24.2. Using the .accdb Database File Format
- 24.3. Distributing .accde Files
- 24.4. Understanding the Compiled State
- 24.5. Improving Absolute Speed
- 24.6. Improving Perceived Speed
- 24.7. Working with Large Access Databases
- 24.8. Summary
- 25. Advanced Data Access with VBA
-
26. Bulletproofing Access Applications
- 26.1. Introducing Bulletproofing
- 26.2. Looking at the Characteristics of Bulletproofed Applications
-
26.3. Identifying the Principles of Bulletproofing
- 26.3.1. Building to a specification
- 26.3.2. Becoming one with documentation
- 26.3.3. Considering your users
- 26.3.4. Getting the application to the users
- 26.3.5. Enabling the users to actually use the application
- 26.3.6. Controlling the flow of information
- 26.3.7. Keeping the user informed
- 26.3.8. Tracking down problems
- 26.3.9. Securing the environment
- 26.3.10. Protecting your database
- 26.3.11. Continuing to improve the product
- 26.4. Summary
-
27. Using the Windows Application Programming Interface
- 27.1. What the Windows API Is
- 27.2. Reasons to Use the Windows API
- 27.3. DLL Documentation
- 27.4. How to Use the Windows API
- 27.5. API Examples
- 27.6. Summary
-
28. Object-Oriented Programming with VBA
-
28.1. Introducing Object-Oriented Programming
- 28.1.1. Getting to know objects
- 28.1.2. Defining objects with class modules
- 28.1.3. Looking at a simple class module
- 28.1.4. Adding a class module to a database
- 28.1.5. Creating simple product properties
- 28.1.6. Creating methods
- 28.1.7. Using the product object
- 28.1.8. Creating bulletproof property procedures
- 28.2. Recognizing the Benefits of Object-Oriented Programming
- 28.3. Using Property Procedures
- 28.4. Modifying the Product Class
- 28.5. Learning about Class Events
- 28.6. Adding Events to Class Modules
- 28.7. Summary
-
28.1. Introducing Object-Oriented Programming
-
29. Customizing Access Ribbons
- 29.1. Why Replace Toolbars and Menus?
- 29.2. Working with the Access Ribbon
- 29.3. Working with the Quick Access Toolbar
- 29.4. Editing the Default Access Ribbon
- 29.5. Developing Custom Access Ribbons
- 29.6. The Ribbon Hierarchy
- 29.7. Getting Started with Access Ribbons
- 29.8. The Basic Ribbon XML
- 29.9. Adding Ribbon Controls
- 29.10. Using Visual Web Developer
- 29.11. Managing Ribbons
- 29.12. Completely Removing the Access Ribbon
- 29.13. Summary
- 30. Using Access Macros
-
31. Distributing Access Applications
-
31.1. Defining the Current Database Options
-
31.1.1. Application options
- 31.1.1.1. Application Title
- 31.1.1.2. Application Icon
- 31.1.1.3. Display Form
- 31.1.1.4. Display Status Bar
- 31.1.1.5. Document Window Options
- 31.1.1.6. Use Access Special Keys
- 31.1.1.7. Compact on Close
- 31.1.1.8. Remove Personal Information from File Properties on Save
- 31.1.1.9. Use Windows-Themed Controls on Forms
- 31.1.1.10. Enable Layout View
- 31.1.1.11. Enable Design Changes for Tables in Datasheet View
- 31.1.1.12. Check for Truncated Number Fields
- 31.1.1.13. Picture Property Storage Format
- 31.1.2. Navigation options
- 31.1.3. Ribbon and toolbar options
- 31.1.4. Name AutoCorrect Options
-
31.1.1. Application options
- 31.2. Testing the Application before Distribution
- 31.3. Polishing Your Application
- 31.4. Bulletproofing an Application
- 31.5. Summary
-
31.1. Defining the Current Database Options
-
24. Optimizing Access Applications
-
V. Access and Windows SharePoint Services
- 32. Understanding Windows SharePoint Services
- 33. Integrating Access with SharePoint
- 34. Understanding Access Services
-
35. Deploying Access Applications to SharePoint
- 35.1. Looking at SharePoint Deployment Options
-
35.2. Dealing with Compatibility Checker Problems
- 35.2.1. General errors
- 35.2.2. Relationship and lookup errors
- 35.2.3. Form and report errors
- 35.2.4. Query errors
- 35.2.5. Macro errors
-
35.2.6. Schema errors
- 35.2.6.1. Lookup field issues
- 35.2.6.2. Field data type issues
- 35.2.6.3. Primary key issues
- 35.2.6.4. Attachment field limitations
- 35.2.6.5. Calculated field issues
- 35.2.6.6. Table field issues
- 35.2.6.7. Table name issues
- 35.2.6.8. Custom field formats are not compatible
- 35.2.6.9. Unique property must be false
- 35.2.6.10. AutoNumbers are reserved for primary keys
- 35.3. Summary
- VI. Access as an Enterprise Platform
- VII. Appendixes
Product information
- Title: Access® 2010 Bible
- Author(s):
- Release date: June 2010
- Publisher(s): Wiley
- ISBN: 9780470475348
You might also like
book
Excel® 2010 Bible
A comprehensive reference to the newest version of the world’s most popular spreadsheet application: Excel 2010 …
book
Access™ 2007 Bible
I recommend this book for anyone who wants a strong foundation in Access. —Jeff Lenamon, CIBC …
book
Using Microsoft® Access® 2010
Get comfortable with Access 2010. Don’t just read about it: see it, hear it, with step-by-step …
book
Microsoft® Access® 2010 Inside Out
You're beyond the basics, so dive right in and really put your database skills to work! …